Skip to content

Commit

Permalink
ci(registry): ✨ add quay.io to docker container registries
Browse files Browse the repository at this point in the history
  • Loading branch information
AmruthPillai committed Nov 6, 2023
1 parent 37e94eb commit 9b83307
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
images: |
${{ env.IMAGE }}
ghcr.io/${{ env.IMAGE }}
quay.io/${{ env.IMAGE }}
- name: Build and Push by Digest
uses: docker/build-push-action@v5.0.0
Expand Down Expand Up @@ -116,15 +117,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.0.0

- name: Extract Docker Metadata
id: meta
uses: docker/metadata-action@v5.0.0
with:
tags: type=semver,pattern={{version}},prefix=v,value=${{ needs.build.outputs.version }}
images: |
${{ env.IMAGE }}
ghcr.io/${{ env.IMAGE }}
- name: Login to Docker Hub
uses: docker/login-action@v3.0.0
with:
Expand All @@ -145,6 +137,16 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ github.token }}

- name: Extract Docker Metadata
id: meta
uses: docker/metadata-action@v5.0.0
with:
tags: type=semver,pattern={{version}},prefix=v,value=${{ needs.build.outputs.version }}
images: |
${{ env.IMAGE }}
ghcr.io/${{ env.IMAGE }}
quay.io/${{ env.IMAGE }}
- name: Create Docker Manifest List and Push
working-directory: /tmp/digests
run: |
Expand Down

0 comments on commit 9b83307

Please sign in to comment.