Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cpanato committed Sep 11, 2023
1 parent 2dd8c85 commit d5ff4e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ jobs:
set -o errexit
set -o nounset
set -o pipefail
set -x
# eval `go env`, compatible with Windows and Linux
# cribbed from https://gist.github.com/Syeberman/39d81b1e17d091be5657ecd6fbff0753
eval $(go env | sed -r 's/^(set )?(\w+)=("?)(.*)\3$/\2="\4"/gm')
# eval $(go env | sed -r 's/^(set )?(\w+)=("?)(.*)\3$/\2="\4"/gm')
# Check that building without push prints the tag (and sha)
KO_DOCKER_REPO="" go run ./ build --push=false ./test | grep ":latest@sha256:"
Expand All @@ -52,7 +53,7 @@ jobs:
jq . ./sbom-data2/test-linux-amd64.spdx.json
jq . ./sbom-data2/test-linux-arm64.spdx.json
export PLATFORM=${GOOS}/${GOARCH}
export PLATFORM=$(go env GOOS)/$(go env GOARCH)
if [[ "${{ matrix.platform }}" == "windows-latest" ]]; then
OSVERSION="10.0.20348"
Expand Down

0 comments on commit d5ff4e3

Please sign in to comment.