From 2253ee0a9e6fa08b3895aafe9e3da2b73bb6aa94 Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Tue, 10 Dec 2024 20:22:16 +0000 Subject: [PATCH] publish-image: Use install-slsactl By downloading the latest stable binary from the GH release, this version results on faster execution (10s instead of 5min). Signed-off-by: Paulo Gomes --- actions/publish-image/action.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/actions/publish-image/action.yaml b/actions/publish-image/action.yaml index e9eca776..2d636776 100644 --- a/actions/publish-image/action.yaml +++ b/actions/publish-image/action.yaml @@ -171,13 +171,7 @@ runs: uses: docker/setup-buildx-action@v3 - name: Install Cosign uses: sigstore/cosign-installer@v3.5.0 - - uses: actions/setup-go@v5 - with: - go-version: 'stable' - - name: Install slsactl - shell: - run: | - go install github.com/rancherlabs/slsactl@latest + - uses: rancherlabs/slsactl/actions/install-slsactl@5dabfd2b8590a8c90d6f64b1c6ee215e24ed3bfd # v0.0.6 - name: Build and push image [Prime] shell: bash