Skip to content

Publish Docker image #21

Publish Docker image

Publish Docker image #21

Workflow file for this run

name: Publish Docker image
on:
release:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Docker image
run: docker build . --file Dockerfile --tag marcolorusso/qunfold
- name: Build Developer Docker image
run: docker build . --file Dockerfile.dev --tag marcolorusso/qunfold-dev
- name: Push to DockerHub
run: |
docker login -u marcolorusso -p ${{ secrets.DOCKER_TOKEN }}
docker push marcolorusso/qunfold
docker push marcolorusso/qunfold-dev