|
@@ -18,10 +18,10 @@ jobs:
|
18
|
18
|
runs-on: ubuntu-latest
|
19
|
19
|
steps:
|
20
|
20
|
- name: Checkout Git repository
|
21
|
|
- uses: actions/checkout@v2
|
|
21
|
+ uses: actions/checkout@v3
|
22
|
22
|
|
23
|
23
|
- name: Authenticate to container registry
|
24
|
|
- uses: docker/login-action@v1
|
|
24
|
+ uses: docker/login-action@v2
|
25
|
25
|
if: github.event_name != 'pull_request'
|
26
|
26
|
with:
|
27
|
27
|
registry: ${{ env.REGISTRY }}
|
|
@@ -30,16 +30,16 @@ jobs:
|
30
|
30
|
|
31
|
31
|
- name: Extract metadata
|
32
|
32
|
id: meta
|
33
|
|
- uses: docker/metadata-action@v3
|
|
33
|
+ uses: docker/metadata-action@v4
|
34
|
34
|
with:
|
35
|
35
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
36
|
36
|
|
37
|
37
|
- name: Setup Docker buildx driver
|
38
|
38
|
id: buildx
|
39
|
|
- uses: docker/setup-buildx-action@v1
|
|
39
|
+ uses: docker/setup-buildx-action@v2
|
40
|
40
|
|
41
|
41
|
- name: Build and publish image
|
42
|
|
- uses: docker/build-push-action@v2
|
|
42
|
+ uses: docker/build-push-action@v3
|
43
|
43
|
with:
|
44
|
44
|
context: .
|
45
|
45
|
push: ${{ github.event_name != 'pull_request' }}
|