@@ -38,24 +38,26 @@ jobs:
38
38
39
39
steps :
40
40
- name : Checkout repository
41
- uses : actions/checkout@v3
41
+ uses : actions/checkout@v4
42
+ with :
43
+ persist-credentials : false
42
44
43
45
- name : Set up QEMU
44
- uses : docker/setup-qemu-action@v2
46
+ uses : docker/setup-qemu-action@v3
45
47
46
48
- name : Set up Docker Buildx
47
- uses : docker/setup-buildx-action@v2
49
+ uses : docker/setup-buildx-action@v3
48
50
49
51
- name : Log in to the Container registry
50
- uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
52
+ uses : docker/login-action@v3
51
53
with :
52
54
registry : ${{ env.REGISTRY }}
53
55
username : ${{ github.actor }}
54
56
password : ${{ secrets.GITHUB_TOKEN }}
55
57
56
58
- name : Extract metadata (tags, labels) for Docker
57
59
id : meta
58
- uses : docker/metadata-action@v4
60
+ uses : docker/metadata-action@v5
59
61
with :
60
62
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
61
63
tags : |
66
68
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
67
69
68
70
- name : Build and push Docker image
69
- uses : docker/build-push-action@v4
71
+ uses : docker/build-push-action@v5
70
72
with :
71
73
context : .
72
74
push : true
0 commit comments