Version number to foorter #209
This commit is contained in:
8
.github/workflows/docker_prod.yml
vendored
8
.github/workflows/docker_prod.yml
vendored
@@ -46,6 +46,14 @@ jobs:
|
||||
type=ref,event=branch,suffix=-{{ sha }}
|
||||
type=ref,event=pr
|
||||
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: Update version
|
||||
uses: brettdorrans/write-version-to-file@master
|
||||
with:
|
||||
filename: '/.VERSION'
|
||||
placeholder: '${VERSION}'
|
||||
|
||||
- name: Login to DockerHub
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v2
|
||||
|
||||
Reference in New Issue
Block a user