Skip to content

Commit

Permalink
Publish to Docker Hub
Browse files Browse the repository at this point in the history
  • Loading branch information
wkornewald committed Nov 13, 2023
1 parent c45eade commit 94b6d0f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login into registry
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login into registry
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
Expand Down Expand Up @@ -68,6 +74,8 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: ${{ github.event_name != 'pull_request' }}
tags: |
${{ github.repository }}:latest
${{ github.repository }}:1
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:1
- name: Purge old images
Expand Down

0 comments on commit 94b6d0f

Please sign in to comment.