Skip to content

Commit 0527700

Browse files
committed
chore: fix duplicate env
1 parent 090dc78 commit 0527700

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/wc-build-push.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,12 @@ jobs:
225225
working-directory: ${{ runner.temp }}/digests
226226
- name: Inspect manifest and extract digest
227227
id: inspect-manifest
228-
env:
229-
FULLY_QUALIFIED_IMAGE_NAME: ${{ needs.sanitize-inputs.outputs.fully-qualified-image-name }}
230228
run: |
231229
set -Eeuo pipefail
232-
output=$(docker buildx imagetools inspect "${FULLY_QUALIFIED_IMAGE_NAME}:${CONTAINER_VERSION}" --format '{{json .}}')
230+
output=$(docker buildx imagetools inspect "${CONTAINER}" --format '{{json .}}')
233231
echo "digest=$(echo "$output" | jq -r '.manifest.digest // .manifests[0].digest')" >> "$GITHUB_OUTPUT"
234232
env:
235-
CONTAINER_VERSION: ${{ steps.metadata.outputs.version }}
233+
CONTAINER: ${{ needs.sanitize-inputs.outputs.fully-qualified-image-name }}:${{ steps.metadata.outputs.version }}
236234
- run: |
237235
set -Eeuo pipefail
238236
wget -O diffoci https://github.com/reproducible-containers/diffoci/releases/download/v0.1.7/diffoci-v0.1.7.linux-amd64

0 commit comments

Comments
 (0)