diff options
author | Gabe Cook <gabe565@gmail.com> | 2023-03-28 11:12:11 -0500 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2023-05-13 15:49:20 +0200 |
commit | df903a2c048d5addee00d1d840ca64a181a3adc9 (patch) | |
tree | 78230f494f542ae873768c808e1235b82741c64d /.github/workflows/dockerhub.yml | |
parent | acd6a8911be0804374b5600f2125e97eb178bfa5 (diff) | |
download | homer-df903a2c048d5addee00d1d840ca64a181a3adc9.tar.gz homer-df903a2c048d5addee00d1d840ca64a181a3adc9.tar.zst homer-df903a2c048d5addee00d1d840ca64a181a3adc9.zip |
Add GHCR Docker image mirrorv23.05.1
Diffstat (limited to '.github/workflows/dockerhub.yml')
-rw-r--r-- | .github/workflows/dockerhub.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 7a9a666..5968d1b 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml | |||
@@ -27,6 +27,13 @@ jobs: | |||
27 | with: | 27 | with: |
28 | username: ${{ secrets.DOCKERHUB_USERNAME }} | 28 | username: ${{ secrets.DOCKERHUB_USERNAME }} |
29 | password: ${{ secrets.DOCKERHUB_TOKEN }} | 29 | password: ${{ secrets.DOCKERHUB_TOKEN }} |
30 | - | ||
31 | name: Login to GHCR | ||
32 | uses: docker/login-action@v2 | ||
33 | with: | ||
34 | registry: ghcr.io | ||
35 | username: ${{ github.actor }} | ||
36 | password: ${{ github.token }} | ||
30 | - | 37 | - |
31 | name: Set tag name | 38 | name: Set tag name |
32 | run: | | 39 | run: | |
@@ -40,5 +47,7 @@ jobs: | |||
40 | uses: docker/build-push-action@v3 | 47 | uses: docker/build-push-action@v3 |
41 | with: | 48 | with: |
42 | push: true | 49 | push: true |
43 | tags: b4bz/homer:${{env.IMAGE_TAG}} | 50 | tags: | |
44 | platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 \ No newline at end of file | 51 | b4bz/homer:${{env.IMAGE_TAG}} |
52 | ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }} | ||
53 | platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 | ||