mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-03-12 22:43:05 +01:00
Add GHCR Docker image mirror
This commit is contained in:
parent
acd6a8911b
commit
df903a2c04
13
.github/workflows/dockerhub.yml
vendored
13
.github/workflows/dockerhub.yml
vendored
@ -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: |
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user