File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change 47
47
username : ${{ env.DOCKERHUB_USERNAME }}
48
48
password : ${{ env.DOCKERHUB_TOKEN }}
49
49
50
- - name : Extract Docker metadata
51
- id : meta
52
- uses : docker/metadata-action@v5
53
- with :
54
- images : ${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}
55
- tags : |
56
- type=ref,event=branch
57
- type=ref,event=tag
58
- type=semver,pattern={{version}}
59
- type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
60
-
61
50
- name : Get latest version tag
62
51
id : get_version
63
52
run : |
@@ -105,11 +94,8 @@ jobs:
105
94
with :
106
95
images : ${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}
107
96
tags : |
108
- type=ref,event=branch
109
- type=ref,event=tag
110
- type=semver,pattern={{version}}
111
- type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
112
- type=raw,value=${{ steps.inc_version.outputs.new_version }}
97
+ type=latest
98
+ type=${{ steps.inc_version.outputs.new_version }}
113
99
114
100
- name : Build and push Docker image
115
101
id : build-and-push
You can’t perform that action at this time.
0 commit comments