File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ permissions:
77 id-token : write
88 contents : read
99
10+ env :
11+ SLACK_CHANNEL_ID_VAR : ${{ vars.SLACK_CHANNEL_ID }}
12+
1013jobs :
1114 build :
1215 uses : ./.github/workflows/docker-build-push.yml
@@ -19,14 +22,14 @@ jobs:
1922 image_test_tag : test
2023 build_args : |
2124 TESTING_BUILD_ARG1=testVALUE
22- TESTING_BUILD_ARG2=${{ vars.SLACK_CHANNEL_ID }}
25+ TESTING_BUILD_ARG2=${{ env.SLACK_CHANNEL_ID_VAR }}
2326 before_command : |
2427 pwd
2528 CUSTOM_TAG="latest-custom"
2629 echo "CUSTOM_TAG=$CUSTOM_TAG" >> "$GITHUB_ENV"
2730 test_command : |
2831 pwd
29- docker run -it -- rm test-templates " cat" " /build_args.txt"
32+ docker run -- rm test-templates:test cat /build_args.txt
3033 after_command : |
3134 pwd
3235 # sbom: true
You can’t perform that action at this time.
0 commit comments