From 7128b0a9dd1962e6e2bc6c3bb2eea6dacc1f92b1 Mon Sep 17 00:00:00 2001 From: Lukas Jost Date: Thu, 15 Oct 2026 00:43:18 +0200 Subject: [PATCH] fix(ci): install envsubst before preview image signing --- .github/workflows/platform-test-preview.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/platform-test-preview.yml b/.github/workflows/platform-test-preview.yml index 0eb469a..f7d8d29 100644 --- a/.github/workflows/platform-test-preview.yml +++ b/.github/workflows/platform-test-preview.yml @@ -155,6 +155,19 @@ jobs: # major tag — `@v4` resolves to nothing and fails the job outright with # "Unable to resolve action ... unable to find version `v4`". Do not # shorten this to match its neighbours. + - name: Install Cosign installer prerequisite + shell: bash + run: | + if ! command -v envsubst >/dev/null 2>&1; then + if [ "$(id -u)" -eq 0 ]; then + apt-get update + apt-get install -y --no-install-recommends gettext-base + else + sudo apt-get update + sudo apt-get install -y --no-install-recommends gettext-base + fi + fi + - uses: sigstore/cosign-installer@v4.1.2 with: cosign-release: v2.4.3