File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: Create and publish Docker image
3
3
on :
4
4
push :
5
5
branches : ['master']
6
- tags : ['v*']
7
6
workflow_dispatch : {}
8
7
9
8
env :
@@ -22,20 +21,20 @@ jobs:
22
21
uses : actions/checkout@v3
23
22
24
23
- name : Log in to the Container registry
25
- uses : docker/login-action
24
+ uses : docker/login-action@v2
26
25
with :
27
26
registry : ${{ env.REGISTRY }}
28
27
username : ${{ github.actor }}
29
28
password : ${{ secrets.GITHUB_TOKEN }}
30
29
31
30
- name : Extract metadata (tags, labels) for Docker
32
31
id : meta
33
- uses : docker/metadata-action
32
+ uses : docker/metadata-action@v4
34
33
with :
35
34
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
36
35
37
36
- name : Build and push Docker image
38
- uses : docker/build-push-action
37
+ uses : docker/build-push-action@v3
39
38
with :
40
39
context : .
41
40
push : true
You can’t perform that action at this time.
0 commit comments