Skip to content

Commit 9f4d8a8

Browse files
authored
fix(ci): docker meta action outputs multiline string instead of tag (#615)
1 parent 84ba095 commit 9f4d8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker.build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
if: steps.update-check.outputs.match == 'true'
8484
id: update-values
8585
run: |
86-
TAG="$(echo ${{ steps.docker_meta.outputs.tags }} | cut -d':' -f2)"
86+
TAG="$GITHUB_REF_NAME"
8787
echo "tag=$TAG" >> $GITHUB_OUTPUT
8888
sed -i "/image:/{n;s/tag:.*/tag: $TAG/;}" ./repos/wbaas-deploy-staging/k8s/helmfile/env/local/api.values.yaml.gotmpl
8989
sed -i "/image:/{n;s/tag:.*/tag: $TAG/;}" ./repos/wbaas-deploy-staging/k8s/helmfile/env/staging/api.values.yaml.gotmpl

0 commit comments

Comments
 (0)