We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d7cec4 commit 0e7e2c5Copy full SHA for 0e7e2c5
.github/workflows/push-to-docker.yml
@@ -72,12 +72,19 @@ jobs:
72
console.log(`Using tag: ${tag}`);
73
return tag;
74
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
+
82
- name: Build and push with tag
83
uses: docker/build-push-action@v3
84
with:
85
context: .
86
push: true
- tags: mitre/vulcan:${{ steps.set_tag.outputs.result.trim() }}
87
+ tags: mitre/vulcan:${{ env.TAG }}
88
platforms: linux/amd64,linux/arm64
89
cache-from: type=none
90
cache-to: type=none
0 commit comments