Update .gitea/workflows/publish.yaml
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 56s

This commit is contained in:
Alexandre Bruyant 2024-01-12 18:40:51 +00:00
parent 695a77ab11
commit d8fa100789

View File

@ -49,6 +49,8 @@ jobs:
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
@ -57,5 +59,4 @@ jobs:
push: true
tags: |
${{ steps.meta.outputs.tags }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
labels: ${{ steps.meta.outputs.labels }}