diff --git a/.github/workflows/other-build-test.yml b/.github/workflows/other-build-test.yml index be84e35..d8dc78a 100644 --- a/.github/workflows/other-build-test.yml +++ b/.github/workflows/other-build-test.yml @@ -70,8 +70,7 @@ jobs: - name: Export digest run: | mkdir -p /tmp/digests - target="${{ env.TARGET_NAME }}" - digest="${{ fromJSON(steps.bake.outputs.metadata).${target}['containerimage.digest'] }}" + digest="${{ fromJSON(steps.bake.outputs.metadata)[env.TARGET_NAME]['containerimage.digest'] }}" touch "/tmp/digests/${digest#sha256:}" - name: Upload digest