From 5104c47631a7d50a161a553cdd905a6eebcf5453 Mon Sep 17 00:00:00 2001 From: Magnus Kulke Date: Mon, 18 Nov 2024 13:29:37 +0100 Subject: [PATCH] ci: install oras specifally for azure e2e tests When the runners were fixed to 24.04 oras wasn't part of the base installation anymore. Signed-off-by: Magnus Kulke --- .github/workflows/azure-e2e-test.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-e2e-test.yml b/.github/workflows/azure-e2e-test.yml index f75fdb6fb..1811df0a6 100644 --- a/.github/workflows/azure-e2e-test.yml +++ b/.github/workflows/azure-e2e-test.yml @@ -170,8 +170,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Extract go version number - run: echo "GO_VERSION=$(yq -e '.tools.golang' versions.yaml)" >> "$GITHUB_ENV" + - name: Extract version numbers + run: | + echo "GO_VERSION=$(yq -e '.tools.golang' versions.yaml)" >> "$GITHUB_ENV" + echo "ORAS_VERSION=$(yq -e '.tools.oras' versions.yaml)" >> "$GITHUB_ENV" + + - uses: oras-project/setup-oras@v1 + with: + version: ${{ env.ORAS_VERSION }} - name: Set up Go environment uses: actions/setup-go@v5