Skip to content

Create flake.yml

Create flake.yml #5

Workflow file for this run

# ./.github/workflows/docker-image.yml
# partly based on https://www.prestonlamb.com/blog/creating-a-docker-image-with-github-actions
name: Docker Image CI
on:
push:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to DockerHub Registry
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push the Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: veldhoen/demosaurus:latest