Skip to content

Commit

Permalink
Syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
norbjd authored Mar 26, 2024
1 parent a70328e commit c4b3372
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ jobs:
# something like 202403241909-abcdef01 if we want to use a specific version
UNIQUE_TAG="$(TZ=UTC0 git log -1 --format=%cd --date=format-local:%Y%m%d%H%M)-$(git rev-parse --short HEAD)"
ko build ./cmd/{{ matrix.component }} \
ko build ./cmd/${{ matrix.component }} \
--base-import-paths \
--image-refs=.digest \
--tags=$GITHUB_REF_NAME,$UNIQUE_TAG
image=$(cat .digest | cut -d'@' -f1 | cut -d':' -f1)
digest=$(cat .digest| cut -d'@' -f2)
echo "{{ matrix.component }}_image=$image" >> "$GITHUB_OUTPUT"
echo "{{ matrix.component }}_digest=$digest" >> "$GITHUB_OUTPUT"
echo "${{ matrix.component }}_image=$image" >> "$GITHUB_OUTPUT"
echo "${{ matrix.component }}_digest=$digest" >> "$GITHUB_OUTPUT"
# see https://github.com/slsa-framework/slsa-github-generator/blob/v1.10.0/internal/builders/container/README.md#ko
provenance:
Expand Down

0 comments on commit c4b3372

Please sign in to comment.