feat: add OCI image.revision label

`image.revision` helps trace the image.

PR: #34
This commit is contained in:
innovaker 2021-05-14 19:12:34 +01:00
parent 1f005cd108
commit 45e2982c07

View File

@ -91,6 +91,7 @@ jobs:
ZEPHYR_SDK_VERSION=${{ env.zephyr-sdk-version }}
labels: |
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
org.opencontainers.image.revision=${{ github.sha }}
tags: |
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