From d5ff4e3ecb52b2b8876e66faa7dd57a044c16348 Mon Sep 17 00:00:00 2001 From: cpanato Date: Mon, 11 Sep 2023 15:10:26 +0200 Subject: [PATCH] test --- .github/workflows/e2e.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 41193f9052..e8979a2eef 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -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:" @@ -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"