Add commit info to image
This commit is contained in:
@@ -58,3 +58,7 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm/v7
|
platforms: linux/amd64,linux/arm/v7
|
||||||
cache-to: "mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=${{ vars.DOCKER_IMAGE }}:cache"
|
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"
|
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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user