From 9caa30a7b1c563aa0245be880b6897f4b4287258 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Mon, 6 Nov 2023 18:41:33 -0500 Subject: [PATCH] install wolfictl Signed-off-by: Jason Hall --- .github/workflows/withdraw-packages.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/withdraw-packages.yaml b/.github/workflows/withdraw-packages.yaml index 18e08f17282..0397bcda60b 100644 --- a/.github/workflows/withdraw-packages.yaml +++ b/.github/workflows/withdraw-packages.yaml @@ -28,7 +28,12 @@ jobs: - uses: actions/checkout@v4 - - uses: chainguard-dev/actions/setup-melange@main + - name: "Install wolfictl onto PATH" + run: | + # Copy wolfictl out of the wolfictl image and onto PATH + TMP=$(mktemp -d) + docker run --rm -i -v $TMP:/out --entrypoint /bin/sh ghcr.io/wolfi-dev/sdk:latest@sha256:833bc07380257f7bdcd499ea386f871d162236c7222511891b74ac8602b592a6 -c "cp /usr/bin/wolfictl /out" + echo "$TMP" >> $GITHUB_PATH - id: auth name: 'Authenticate to Google Cloud'