Version number to foorter #209

This commit is contained in:
Jokob-sk
2023-05-13 14:09:19 +10:00
parent 8e86343942
commit fc79ffc956
4 changed files with 39 additions and 4 deletions

View File

@@ -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