fix docker build flow

This commit is contained in:
gmega 2024-10-29 17:07:34 -03:00
parent 21d61c6f0f
commit 8070dad226
No known key found for this signature in database
GPG Key ID: 6290D34EAD824B18
1 changed files with 7 additions and 3 deletions

View File

@ -31,12 +31,16 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKER_REPO }}
flavor: |
latest=true
tags: |
type=sha
- name: Build and Push
uses: docker/build-push-action@v6
with:
context: .
file: ${{ env.DOCKER_FILE }}
tags: |
latest=true
type=sha
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}