File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 10
10
REGISTRY : ghcr.io
11
11
IMAGE_NAME : ${{ github.repository }}
12
12
13
+ permissions :
14
+ contents : write
15
+ packages : write
16
+ attestations : write
17
+ id-token : write
18
+
13
19
jobs :
14
20
build :
15
21
runs-on : ubuntu-24.04
16
22
17
- permissions :
18
- contents : write
19
- packages : write
20
- attestations : write
21
- id-token : write
22
-
23
23
steps :
24
24
- uses : actions/checkout@v4
25
25
@@ -80,29 +80,29 @@ jobs:
80
80
body : " IC-Gateway release"
81
81
82
82
- name : Log in to the Container registry
83
- uses : docker/login-action@v3
83
+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772
84
84
with :
85
85
registry : ${{ env.REGISTRY }}
86
86
username : ${{ github.actor }}
87
87
password : ${{ secrets.GITHUB_TOKEN }}
88
88
89
89
- name : Extract metadata for Docker
90
90
id : docker_meta
91
- uses : docker/metadata-action@v5
91
+ uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804
92
92
with :
93
93
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
94
94
95
95
- name : Build and push Docker image
96
96
id : docker_push
97
- uses : docker/build-push-action@v6
97
+ uses : docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0
98
98
with :
99
99
context : .
100
100
push : true
101
101
tags : ${{ steps.docker_meta.outputs.tags }}
102
102
labels : ${{ steps.docker_meta.outputs.labels }}
103
103
104
104
- name : Generate artifact attestation
105
- uses : actions/attest-build-provenance@v2
105
+ uses : actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd
106
106
with :
107
107
subject-name : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
108
108
subject-digest : ${{ steps.docker_push.outputs.digest }}
You can’t perform that action at this time.
0 commit comments