Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ updates:
schedule:
interval: "daily"
open-pull-requests-limit: 10
cooldown:
default-days: 3
- package-ecosystem: terraform
directory: "/"
schedule:
interval: "daily"
cooldown:
default-days: 3
9 changes: 6 additions & 3 deletions .github/workflows/.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,20 @@ jobs:
# Auth to GitHub Container Registry (ghcr.io)
- name: Login to registry
if: inputs.registry != ''
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
set -x
echo "${{ github.token }}" | docker login \
-u "${{ github.repository_owner }}" \
echo "$GITHUB_TOKEN" | docker login \
-u "$GITHUB_REPOSITORY_OWNER" \
--password-stdin ghcr.io

# Build and push image using terraform-provider-apko
- name: Build image with apko/terraform
env:
TF_VAR_target_repository: ${{ inputs.registry != '' && inputs.registry || format('localhost:5000/{0}', inputs.image) }}
IMAGE: ${{ inputs.image }}
run: |
set -x
terraform init
terraform apply -auto-approve -target=module.${{inputs.image}}
terraform apply -auto-approve -target="module.${IMAGE}"
41 changes: 37 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,62 +8,95 @@ on:

concurrency: release

permissions:
contents: read # Needed to clone the repo
id-token: write # Needed to sign images
packages: write # Needed to publish images to GHCR
permissions: {}

jobs:
alpine-base:
uses: ./.github/workflows/.build.yaml
permissions:
contents: read # Clone the repo in the reusable build workflow
id-token: write # Keyless image signing via cosign/OIDC
packages: write # Publish images to GHCR
with:
image: alpine-base
registry: ghcr.io/wolfi-dev

apko:
uses: ./.github/workflows/.build.yaml
permissions:
contents: read # Clone the repo in the reusable build workflow
id-token: write # Keyless image signing via cosign/OIDC
packages: write # Publish images to GHCR
with:
image: apko
registry: ghcr.io/wolfi-dev

gcc-musl:
uses: ./.github/workflows/.build.yaml
permissions:
contents: read # Clone the repo in the reusable build workflow
id-token: write # Keyless image signing via cosign/OIDC
packages: write # Publish images to GHCR
with:
image: gcc-musl
registry: ghcr.io/wolfi-dev

musl-dynamic:
uses: ./.github/workflows/.build.yaml
permissions:
contents: read # Clone the repo in the reusable build workflow
id-token: write # Keyless image signing via cosign/OIDC
packages: write # Publish images to GHCR
with:
image: musl-dynamic
registry: ghcr.io/wolfi-dev

sdk:
uses: ./.github/workflows/.build.yaml
permissions:
contents: read # Clone the repo in the reusable build workflow
id-token: write # Keyless image signing via cosign/OIDC
packages: write # Publish images to GHCR
with:
image: sdk
registry: ghcr.io/wolfi-dev

static-alpine:
uses: ./.github/workflows/.build.yaml
permissions:
contents: read # Clone the repo in the reusable build workflow
id-token: write # Keyless image signing via cosign/OIDC
packages: write # Publish images to GHCR
with:
image: static
registry: ghcr.io/wolfi-dev

git-alpine:
uses: ./.github/workflows/.build.yaml
permissions:
contents: read # Clone the repo in the reusable build workflow
id-token: write # Keyless image signing via cosign/OIDC
packages: write # Publish images to GHCR
with:
image: git
registry: ghcr.io/wolfi-dev

busybox-alpine:
uses: ./.github/workflows/.build.yaml
permissions:
contents: read # Clone the repo in the reusable build workflow
id-token: write # Keyless image signing via cosign/OIDC
packages: write # Publish images to GHCR
with:
image: busybox
registry: ghcr.io/wolfi-dev

spdx-tools:
uses: ./.github/workflows/.build.yaml
permissions:
contents: read # Clone the repo in the reusable build workflow
id-token: write # Keyless image signing via cosign/OIDC
packages: write # Publish images to GHCR
with:
image: spdx-tools
registry: ghcr.io/wolfi-dev
4 changes: 4 additions & 0 deletions .github/workflows/zizmor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ on:
paths:
- '.github/workflows/**'
- '.github/actions/**'
- '.github/zizmor.yml'
- '.github/dependabot.yaml'
push:
branches: ['main']
paths:
- '.github/workflows/**'
- '.github/actions/**'
- '.github/zizmor.yml'
- '.github/dependabot.yaml'

permissions: {}

Expand Down
15 changes: 15 additions & 0 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2026 Chainguard, Inc.
# SPDX-License-Identifier: Apache-2.0

rules:
# Paired with `cooldown.default-days: 3` in .github/dependabot.yaml.
# Pedantic persona's default cooldown threshold is 7 days; lower it to
# match the repo's configured cooldown.
dependabot-cooldown:
config:
days: 3
# Cosmetic pedantic-only findings — suppressed across the campaign.
anonymous-definition:
disable: true
concurrency-limits:
disable: true