Skip to content

Commit

Permalink
fix: login to ghcr.io at the beginning of job
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Ortega <[email protected]>
  • Loading branch information
M0NsTeRRR committed Dec 8, 2024
1 parent c248e0d commit 56b5c67
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ jobs:
- name: Install Oras
uses: oras-project/setup-oras@v1

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

- name: Package helm charts
run: |
mkdir -p ./.cr-release-packages
Expand Down Expand Up @@ -91,13 +98,6 @@ jobs:
name: artifacts
path: .cr-release-packages/

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

- name: Push charts to GHCR
env:
COSIGN_YES: true
Expand Down

0 comments on commit 56b5c67

Please sign in to comment.