mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-09-28 04:17:42 +02:00
Make the image be tagged with commit sha and latest
This commit is contained in:
parent
caf18da694
commit
875c95885a
4
.github/workflows/build-docker.yml
vendored
4
.github/workflows/build-docker.yml
vendored
@ -23,7 +23,9 @@ jobs:
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
tags: latest
|
||||
tags: |
|
||||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
||||
type=sha
|
||||
images: ${{ env.REGISTRY }}/${{ github.repository }}
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
|
Loading…
Reference in New Issue
Block a user