There was an error while loading. Please reload this page.
1 parent d2e31aa commit 6184ac4Copy full SHA for 6184ac4
2 files changed
.github/workflows/build.yml
@@ -115,14 +115,12 @@ jobs:
115
ECR_REGISTRY: ${{ inputs.ecr_registry }}
116
ECR_REPOSITORY: ${{ inputs.ecr_repository }}
117
IMAGE_TAGS: ${{ inputs.image_tags }}
118
- COMMIT_SHA: ${{ github.sha }}
119
run: |
120
set -euo pipefail
121
base="${ECR_REGISTRY}/${ECR_REPOSITORY}"
122
IFS=',' read -ra tags <<<"$IMAGE_TAGS"
123
{
124
echo "tags<<EOF"
125
- echo "${base}:sha-${COMMIT_SHA}"
126
for tag in "${tags[@]}"; do
127
echo "${base}:${tag}"
128
done
.github/zizmor.yml
@@ -8,4 +8,4 @@ rules:
8
# `job_workflow_ref` matches this file at a specific commit SHA,
9
# so a tampered caller cannot reach ECR regardless of what these
10
# path strings expand to.
11
- - build.yml:151:24
+ - build.yml:149:24
0 commit comments