Skip to content

Commit

Permalink
log into ghcr before pushing images
Browse files Browse the repository at this point in the history
  • Loading branch information
sunu committed Sep 8, 2024
1 parent e42bf18 commit 492403c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-publish-docker-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ jobs:
with:
fetch-depth: 0

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

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand All @@ -31,8 +38,6 @@ jobs:
- name: Run chartpress
run: |
chartpress --push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get the version
id: get_version
Expand Down

0 comments on commit 492403c

Please sign in to comment.