test build and push

This commit is contained in:
Abner Rizzi 2023-08-10 08:59:11 -03:00
parent 1c7759d66f
commit 3fbc49a027
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY}}/${ env.IMAGE_NAME,, }
images: ${{ env.REGISTRY}}/${env.IMAGE_NAME,,}
flavor: latest=true
tags: |
type=ref,event=branch
@ -45,7 +45,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile
file: Dockerfile.base
push: ${{ github.ref_type == 'tag' || github.ref_name == 'main' || startsWith(github.ref_name, 'feat-')}}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}