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 uses: docker/metadata-action@v5
with: with:
images: ${{ env.DOCKER_REPO }} images: ${{ env.DOCKER_REPO }}
flavor: |
latest=true
tags: |
type=sha
- name: Build and Push - name: Build and Push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
file: ${{ env.DOCKER_FILE }} file: ${{ env.DOCKER_FILE }}
tags: | push: ${{ github.event_name != 'pull_request' }}
latest=true tags: ${{ steps.meta.outputs.tags }}
type=sha labels: ${{ steps.meta.outputs.labels }}