Skip to content

Commit

Permalink
Add GHCR Docker image mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 authored and bastienwirtz committed May 13, 2023
1 parent acd6a89 commit df903a2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
-
name: Set tag name
run: |
Expand All @@ -40,5 +47,7 @@ jobs:
uses: docker/build-push-action@v3
with:
push: true
tags: b4bz/homer:${{env.IMAGE_TAG}}
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
tags: |
b4bz/homer:${{env.IMAGE_TAG}}
ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }}
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64

0 comments on commit df903a2

Please sign in to comment.