We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7916ada commit 04726dcCopy full SHA for 04726dc
.github/workflows/release.yaml
@@ -22,13 +22,6 @@ jobs:
22
cd ./charts/snapshot-controller
23
make crds
24
25
- - name: Login to GitHub Container Registry
26
- uses: docker/login-action@v3
27
- with:
28
- registry: ghcr.io
29
- username: ${{ github.actor }}
30
- password: ${{ secrets.GITHUB_TOKEN }}
31
-
32
- name: Configure Git
33
run: |
34
git config user.name "$GITHUB_ACTOR"
@@ -42,6 +35,14 @@ jobs:
42
35
env:
43
36
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
44
37
38
+ - if: ${{ steps.cr.outputs.changed_charts }}
39
+ name: Login to GitHub Container Registry
40
+ uses: docker/login-action@v3
41
+ with:
+ registry: ghcr.io
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
45
+
46
- if: ${{ steps.cr.outputs.changed_charts }}
47
name: Push Charts to GHCR
48
0 commit comments