CI: publish with "floating" Docker image tag too 💚

This commit is contained in:
Jannis R 2024-01-25 14:49:39 +01:00
parent 8de11ee2cd
commit 9793b471f2
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -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