@@ -21,33 +21,33 @@ jobs:
21
21
release :
22
22
runs-on : ubuntu-latest
23
23
steps :
24
- - uses : actions/checkout@v4
24
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
25
25
if : github.event_name == 'pull_request'
26
26
with :
27
27
fetch-depth : 0
28
28
ref : ${{ github.event.pull_request.head.ref }}
29
- - uses : actions/checkout@v4
29
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
30
30
if : github.event_name != 'pull_request'
31
31
with :
32
32
fetch-depth : 0
33
33
- name : setup-go
34
- uses : actions/setup-go@v5
34
+ uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
35
35
with :
36
36
go-version : 1.21.x
37
37
- name : setup qemu
38
38
id : qemu
39
- uses : docker/setup-qemu-action@v3
39
+ uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
40
40
- name : setup docker buildx
41
41
id : buildx
42
- uses : docker/setup-buildx-action@v3
42
+ uses : docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
43
43
- name : Login to GitHub Container Registry
44
- uses : docker/login-action@v3
44
+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
45
45
with :
46
46
registry : ghcr.io
47
47
username : ${{ github.actor }}
48
48
password : ${{ secrets.GITHUB_TOKEN }}
49
49
- name : install cosign
50
- uses : sigstore/cosign-installer@v3
50
+ uses : sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3
51
51
- name : install quill
52
52
env :
53
53
QUILL_VERSION : 0.4.1
69
69
run : |
70
70
echo "GORELEASER_ARGS=--snapshot --skip-publish" >> $GITHUB_ENV
71
71
- name : setup quill
72
- uses : 1password/load-secrets-action@v2
73
- if : startsWith(github.ref, 'refs/tags/') == true && github.actor == github.repository_owner
72
+ uses : 1password/load-secrets-action@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0 # v2
73
+ if : startsWith(github.ref, 'refs/tags/') == true && ( github.actor == github.repository_owner || github.actor == 'ekristen-dev[bot]')
74
74
with :
75
75
export-env : true
76
76
env :
81
81
QUILL_SIGN_PASSWORD : ${{ secrets.OP_QUILL_SIGN_PASSWORD }}
82
82
QUILL_SIGN_P12 : ${{ secrets.OP_QUILL_SIGN_P12 }}
83
83
- name : run goreleaser
84
- uses : goreleaser/goreleaser-action@v6
84
+ uses : goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6
85
85
with :
86
86
distribution : goreleaser
87
87
version : latest
94
94
docker images --format "{{.Repository}}:{{.Tag}}" | grep "${{ github.repository }}" | xargs -L1 docker push
95
95
- name : upload artifacts
96
96
if : ${{ github.event.pull_request.base.ref == 'main' || github.event_name == 'workflow_dispatch' }}
97
- uses : actions/upload-artifact@v4
97
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
98
98
with :
99
99
name : binaries
100
100
path : releases/*.tar.gz
0 commit comments