Skip to content

Commit

Permalink
build: add annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia committed Nov 30, 2023
1 parent e9a7b22 commit 245990c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ jobs:
run: echo 'GIT_DESCRIBE='`git describe --tags --always --long` >> $GITHUB_OUTPUT
id: git-describe
- name: 📝 Calculate metadata for minimal Docker images
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
uses: docker/metadata-action@f19c3691d56f26e3f97547999df66a9ecbf0d9b0 # v5.1.0
id: meta
with:
images: ${{ github.repository }}
tags: |
type=edge
type=semver,pattern={{version}}
labels: |
io.artifacthub.package.license=Apache-2.0
io.artifacthub.package.readme-url=https://raw.githubusercontent.com/favonia/cloudflare-ddns/main/build/SUMMARY.markdown
io.artifacthub.package.maintainers=[{"name":"favonia","email":"[email protected]"}]
annotations: |
index:io.artifacthub.package.license=Apache-2.0
index:io.artifacthub.package.readme-url=https://raw.githubusercontent.com/favonia/cloudflare-ddns/main/build/SUMMARY.markdown
index:io.artifacthub.package.maintainers=[{"name":"favonia","email":"[email protected]"}]
- name: 🚀 Build and deploy minimal Docker images
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
id: build
Expand All @@ -73,6 +73,7 @@ jobs:
platforms: ${{ env.platforms }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.labels }}
provenance: "mode=max"
- name: ✍️ Install Cosign
uses: sigstore/cosign-installer@1fc5bd396d372bee37d608f955b336615edf79c8 # 3.2.0
Expand Down

0 comments on commit 245990c

Please sign in to comment.