CI: publish with "floating" Docker image tag too 💚
This commit is contained in:
parent
8de11ee2cd
commit
9793b471f2
1 changed files with 3 additions and 1 deletions
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
|
@ -67,7 +67,9 @@ jobs:
|
|||
context: .
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: ghcr.io/${{github.repository}}:v6_${{steps.hash.outputs.hash}}_${{steps.datetime.outputs.datetime}}
|
||||
tags: |
|
||||
ghcr.io/${{github.repository}}:v6
|
||||
ghcr.io/${{github.repository}}:v6_${{steps.hash.outputs.hash}}_${{steps.datetime.outputs.datetime}}
|
||||
# https://docs.docker.com/build/ci/github-actions/examples/#github-cache
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max,oci-mediatypes=true,compression=zstd
|
||||
|
|
Loading…
Reference in a new issue