Skip to content

Commit 0e7e2c5

Browse files
author
Vanessa Fotso
committed
debugging
1 parent 2d7cec4 commit 0e7e2c5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/push-to-docker.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,19 @@ jobs:
7272
console.log(`Using tag: ${tag}`);
7373
return tag;
7474
75+
- name: Set tag as env variable
76+
run: |
77+
TAG=${{ steps.set_tag.outputs.result }}
78+
TAG=$(echo "$TAG" | tr -d '"' | tr -d "'")
79+
TAG=$(echo "$TAG" | xargs)
80+
echo "TAG=$TAG" >> $GITHUB_ENV
81+
7582
- name: Build and push with tag
7683
uses: docker/build-push-action@v3
7784
with:
7885
context: .
7986
push: true
80-
tags: mitre/vulcan:${{ steps.set_tag.outputs.result.trim() }}
87+
tags: mitre/vulcan:${{ env.TAG }}
8188
platforms: linux/amd64,linux/arm64
8289
cache-from: type=none
8390
cache-to: type=none

0 commit comments

Comments
 (0)