Create docker.yml

This commit is contained in:
Nobix
2022-04-08 03:20:06 +05:30
committed by GitHub
parent 66d8871a4e
commit 6e1248bf74
+2 -3
View File
@@ -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 }}