Skip to content

Commit

Permalink
Update Docker Publishing (#206)
Browse files Browse the repository at this point in the history
* Actions no longer supports short sha

GitHub Actions no longer supports a short SHA
as the version of an Action. The Action in question
has published a tag now so that can be used directly.

Signed-off-by: Brett Logan <[email protected]>

* Switch to the GITHUB_TOKEN for GHCR auth

The GitHub Container Registry now supports
the use of the GITHUB_TOKEN for pushing to
a container registry on push events, switch
to using this token as oppossed to the
custome PAT_TOKEN.

Signed-off-by: Brett Logan <[email protected]>
  • Loading branch information
lindluni authored Mar 25, 2021
1 parent d66591c commit 0149029
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PAT }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Gather Docker Labels
if: steps.semantic.outputs.new_release_published == 'true'
id: docker_meta
uses: crazy-max/ghaction-docker-meta@55d3462 #v1.9.1
uses: crazy-max/ghaction-docker-meta@v1.12.0
with:
images: ghcr.io/${{ github.repository }}

Expand Down

0 comments on commit 0149029

Please sign in to comment.