fix docker build flow
This commit is contained in:
parent
21d61c6f0f
commit
8070dad226
|
@ -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 }}
|
Loading…
Reference in New Issue