Create docker.yml
This commit is contained in:
@@ -122,8 +122,7 @@ jobs:
|
|||||||
flavor: |
|
flavor: |
|
||||||
latest=false
|
latest=false
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
|
type=raw,value=latest
|
||||||
type=ref,event=pr,prefix=pr
|
|
||||||
-
|
-
|
||||||
# this will build the images, once per platform,
|
# this will build the images, once per platform,
|
||||||
# then push to both Docker Hub and GHCR
|
# then push to both Docker Hub and GHCR
|
||||||
@@ -146,4 +145,4 @@ jobs:
|
|||||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||||
-
|
-
|
||||||
name: Show image digest
|
name: Show image digest
|
||||||
run: echo ${{ steps.docker_build_and_push.outputs.digest }}
|
run: echo ${{ steps.docker_build_and_push.outputs.digest }}
|
||||||
|
|||||||
Reference in New Issue
Block a user