Skip to content

Commit

Permalink
ci: Add Login to ghcr step to release Workflow (#212)
Browse files Browse the repository at this point in the history
* ci: Add Login to ghcr step to release Workflow

Signed-off-by: Ondrej Fabry <[email protected]>

* ci: Update docker/login-action to v3

Signed-off-by: Ondrej Fabry <[email protected]>

---------

Signed-off-by: Ondrej Fabry <[email protected]>
  • Loading branch information
ondrej-fabry authored May 16, 2024
1 parent 79bdeb3 commit 4bb902b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ jobs:
- name: "Download Syft"
uses: anchore/sbom-action/download-syft@v0 #v0.15.10

- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}

- name: "Release Version"
if: success() && startsWith(github.ref, 'refs/tags/v')
uses: goreleaser/goreleaser-action@v5
Expand Down

0 comments on commit 4bb902b

Please sign in to comment.