File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 9292 name : build-artifacts
9393 path : dist/
9494
95+ - name : Set lower-case image ref and sha tag
96+ id : prep
97+ shell : bash
98+ run : |
99+ echo "IMAGE_LC=${REGISTRY}/${IMAGE_NAME,,}" >> $GITHUB_ENV
100+ echo "SHA_TAG=sha-${GITHUB_SHA}" >> $GITHUB_ENV
101+
95102 - name : Set up Docker Buildx
96103 uses : docker/setup-buildx-action@v3
97104
@@ -159,6 +166,13 @@ jobs:
159166 git config user.name "GitHub Actions"
160167 git config user.email "actions@github.com"
161168
169+ - name : Prepare image ref (lowercase)
170+ shell : bash
171+ run : |
172+ IMAGE_LC="ghcr.io/${GITHUB_REPOSITORY,,}"
173+ echo "IMAGE_LC=$IMAGE_LC" >> $GITHUB_ENV
174+ echo "SHA_TAG=sha-${GITHUB_SHA}" >> $GITHUB_ENV
175+
162176 - name : Update Kubernetes deployment file
163177 env :
164178 IMAGE_TAG : sha-${{ github.sha }}
You can’t perform that action at this time.
0 commit comments