Add commit info to image
All checks were successful
Build Docker image / test (push) Successful in 32s
Build Docker image / build (push) Successful in 23s

This commit is contained in:
Roman Krček
2024-10-06 14:27:09 +02:00
parent 3ddfbb1aa9
commit a81e41fdf4

View File

@@ -58,3 +58,7 @@ jobs:
platforms: linux/amd64,linux/arm/v7
cache-to: "mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=${{ vars.DOCKER_IMAGE }}:cache"
cache-from: "mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=${{ vars.DOCKER_IMAGE }}:cache"
labels: |
org.opencontainers.image.revision=${{ env.GITEA_COMMIT_SHA }}
org.opencontainers.image.source=${{ env.GITEA_REPOSITORY }}
org.opencontainers.image.created=${{ steps.date.outputs.date }}