Skip to content

Commit

Permalink
publish-image: Use install-slsactl (#514)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
pjbgf authored Dec 10, 2024
1 parent f12d233 commit 1ddf5ae
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions actions/publish-image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,7 @@ runs:
uses: docker/setup-buildx-action@v3
- name: Install Cosign
uses: sigstore/[email protected]
- 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
Expand Down

0 comments on commit 1ddf5ae

Please sign in to comment.