diff options
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 | ||