summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorOndra Pelech <ondra.pelech@gmail.com>2025-10-28 09:23:39 +0100
committerGitHub <noreply@github.com>2025-10-28 10:23:39 +0200
commitdc912bc7eaa87d1ec9bb0bc690cc18a6ccddb63c (patch)
tree7b1dc13e3056bb6d1a3b577f7c446f5ce4020887 /.github/workflows
parent52561b2b46d159f6d648d25abeca6fbae760cc3b (diff)
downloadAeroCore-OS-dc912bc7eaa87d1ec9bb0bc690cc18a6ccddb63c.tar.gz
AeroCore-OS-dc912bc7eaa87d1ec9bb0bc690cc18a6ccddb63c.zip
Container image labels point to specific commit (#153)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ecd3ffa..b7d99af 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -87,13 +87,13 @@ jobs:
type=sha,enable=${{ github.event_name == 'pull_request' }}
type=ref,event=pr
labels: |
- io.artifacthub.package.readme-url=https://raw.githubusercontent.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}/refs/heads/main/README.md
+ io.artifacthub.package.readme-url=https://raw.githubusercontent.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}/${{ github.sha }}/README.md
org.opencontainers.image.created=${{ steps.date.outputs.date }}
org.opencontainers.image.description=${{ env.IMAGE_DESC }}
- org.opencontainers.image.documentation=https://raw.githubusercontent.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}/refs/heads/main/README.md
- org.opencontainers.image.source=https://github.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}/blob/main/Containerfile
+ org.opencontainers.image.documentation=https://raw.githubusercontent.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}/${{ github.sha }}/README.md
+ org.opencontainers.image.source=https://github.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}/blob/${{ github.sha }}/Containerfile
org.opencontainers.image.title=${{ env.IMAGE_NAME }}
- org.opencontainers.image.url=https://github.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
+ org.opencontainers.image.url=https://github.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}/tree/${{ github.sha }}
org.opencontainers.image.vendor=${{ github.repository_owner }}
org.opencontainers.image.version=${{ env.DEFAULT_TAG }}.{{date 'YYYYMMDD'}}
io.artifacthub.package.deprecated=false