Create a latest & sha tag
This commit is contained in:
parent
25ea581063
commit
c97e4081d0
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ jobs:
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: git.pfy.ch/pfych/chapter-tracker
|
images: git.pfy.ch/pfych/chapter-tracker
|
||||||
|
tags: |
|
||||||
|
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
||||||
|
type=sha
|
||||||
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue