-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Description
I really like this action but it spams my registry with unnecessary sha-* tags that I don't want.
Can I somehow disable these or remove them?
My setup looks like this:
name: Build Image
on:
push:
tags:
- 'v*'
jobs:
build:
uses: docker/github-builder/.github/workflows/build.yml@c767551a26459c30e1f683df73a12fdb918f7068 # v1
permissions:
contents: read # to fetch the repository content
id-token: write # for signing attestation(s) with GitHub OIDC Token
packages: write # required to push to GHCR
with:
build-args: |
APP_VERSION=${{ github.ref_name }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
cache: true
cache-mode: max
output: image
push: true
sbom: true
set-meta-annotations: true
set-meta-labels: true
meta-images: ghcr.io/${{ github.repository }}
meta-tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
secrets:
registry-auths: |
- registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}Reactions are currently unavailable