File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 endpoint : builders # self-hosted
7676
7777 - name : Login to GHCR
78- if : github.event_name != 'pull_request'
7978 uses : docker/login-action@v3
8079 with :
8180 registry : ghcr.io
8887 with :
8988 context : .
9089 platforms : ${{ env.platforms }}
91- push : ${{ github.event_name != 'pull_request' }}
90+ push : true
9291 tags : ${{ steps.meta.outputs.tags }}
9392 labels : ${{ steps.meta.outputs.labels }}
9493 target : ${{ matrix.image }}
@@ -124,7 +123,6 @@ jobs:
124123 echo "version=$CHART_VERSION" >> $GITHUB_OUTPUT
125124
126125 - name : Log in to GitHub Container Registry
127- if : github.event_name != 'pull_request'
128126 run : |
129127 echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io -u ${{ github.actor }} --password-stdin
130128
@@ -137,7 +135,6 @@ jobs:
137135 CHART_VERSION : ${{ steps.chart_version.outputs.version }}
138136
139137 - name : Push Helm charts to GHCR
140- if : github.event_name != 'pull_request'
141138 run : |
142139 helm push gardener-extension-provider-ironcore-${CHART_VERSION}.tgz oci://ghcr.io/${REPO_OWNER}/charts
143140 helm push gardener-extension-admission-ironcore-runtime-${CHART_VERSION}.tgz oci://ghcr.io/${REPO_OWNER}/charts
You can’t perform that action at this time.
0 commit comments