File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 12
12
jobs :
13
13
push :
14
14
runs-on : ubuntu-latest
15
+ permissions :
16
+ contents : read
17
+ packages : write
18
+ attestations : write
19
+ id-token : write
15
20
steps :
16
21
- name : Checkout repository
17
22
uses : actions/checkout@v3
18
23
19
24
- name : Log in to the Container registry
20
- uses : docker/login-action@v2.1.0
25
+ uses : docker/login-action@v3
21
26
with :
22
- registry : ${{ env.REGISTRY }}
23
- username : ${{ github.actor }}
27
+ registry : ghcr.io
28
+ username : includable
24
29
password : ${{ secrets.GITHUB_TOKEN }}
25
30
26
31
- name : Extract metadata (labels) for Docker
27
32
id : meta
28
- uses : docker/metadata-action@v4.4.0
33
+ uses : docker/metadata-action@v5
29
34
with :
30
35
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
31
36
32
37
- name : Build and push Docker image
33
- uses : docker/build-push-action@v4.0.0
38
+ uses : docker/build-push-action@v6
34
39
with :
35
40
context : ./lib/docker/craft
36
41
push : true
You can’t perform that action at this time.
0 commit comments