Update workflow action for publishing to new docker hub repo
This commit is contained in:
12
.github/workflows/hub.yml
vendored
12
.github/workflows/hub.yml
vendored
@@ -38,8 +38,8 @@ jobs:
|
|||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.CR_PAT }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
# cache-from: type=local,src=/tmp/.buildx-cache
|
# cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
# cache-to: type=local,dest=/tmp/.buildx-cache
|
# cache-to: type=local,dest=/tmp/.buildx-cache
|
||||||
tags: |
|
tags: |
|
||||||
akhilrex/hammond:latest
|
alfhou/hammond:latest
|
||||||
akhilrex/hammond:${{ steps.get_tag.outputs.TAG }}
|
alfhou/hammond:${{ steps.get_tag.outputs.TAG }}
|
||||||
ghcr.io/akhilrex/hammond:latest
|
ghcr.io/alfhou/hammond:latest
|
||||||
ghcr.io/akhilrex/hammond:${{ steps.get_tag.outputs.TAG }}
|
ghcr.io/alfhou/hammond:${{ steps.get_tag.outputs.TAG }}
|
||||||
|
|||||||
Reference in New Issue
Block a user