feat: add OCI image.revision
label
`image.revision` helps trace the image. PR: #34
This commit is contained in:
parent
1f005cd108
commit
45e2982c07
1
.github/workflows/containers.yml
vendored
1
.github/workflows/containers.yml
vendored
@ -91,6 +91,7 @@ jobs:
|
|||||||
ZEPHYR_SDK_VERSION=${{ env.zephyr-sdk-version }}
|
ZEPHYR_SDK_VERSION=${{ env.zephyr-sdk-version }}
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
|
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
|
||||||
|
org.opencontainers.image.revision=${{ github.sha }}
|
||||||
tags: |
|
tags: |
|
||||||
docker.io/${{ steps.vars.outputs.docker-hub-namespace }}/${{ steps.vars.outputs.candidate-tag }}
|
docker.io/${{ steps.vars.outputs.docker-hub-namespace }}/${{ steps.vars.outputs.candidate-tag }}
|
||||||
cache-from: type=registry,ref=docker.io/${{ steps.vars.outputs.docker-hub-namespace }}/${{ env.cache-repository-name }}:dev
|
cache-from: type=registry,ref=docker.io/${{ steps.vars.outputs.docker-hub-namespace }}/${{ env.cache-repository-name }}:dev
|
||||||
|
Loading…
Reference in New Issue
Block a user