File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
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 : |
109
98
type=ref,event=tag
110
99
type=semver,pattern={{version}}
111
100
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
101
+ type=raw,value=${{ steps.inc_version.outputs.new_version }}
112
102
113
103
- name : Build and push Docker image
114
104
id : build-and-push
You can’t perform that action at this time.
0 commit comments