Skip to content

Commit

Permalink
Add docker.io image push
Browse files Browse the repository at this point in the history
With this commit we publish on ghcr.io, quay.io and docker.io.
  • Loading branch information
rascasoft committed Sep 10, 2024
1 parent 8a0e9ce commit a27891c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
username: ${{ vars.QUAY_ROBOT_NAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}

- name: Login to docker.io
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: docker.io
username: ${{ vars.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
with:
Expand All @@ -43,3 +51,5 @@ jobs:
ghcr.io/mmul-it/kpa-marp-pandoc:${{ github.ref_name }}
quay.io/mmul/kpa-marp-pandoc:latest
quay.io/mmul/kpa-marp-pandoc:${{ github.ref_name }}
docker.io/mmul/kpa-marp-pandoc:latest
docker.io/mmul/kpa-marp-pandoc:${{ github.ref_name }}

0 comments on commit a27891c

Please sign in to comment.