Skip to content

Commit

Permalink
feat(toolbox): Verify wolfi-base before building (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
EyeCantCU authored Jan 2, 2024
1 parent 3dd7809 commit e4ab9d3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build-bluefin-toolbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
schedule:
- cron: '20 22 * * *' # 10:20pm everyday
pull_request:
merge_group:
merge_group:
workflow_dispatch:
env:
IMAGE_NAME: bluefin-cli
Expand All @@ -24,11 +24,19 @@ jobs:
id-token: write
strategy:
fail-fast: false
steps:
steps:
# Checkout push-to-registry action GitHub repository
- name: Checkout Push to Registry action
uses: actions/checkout@v4


- name: Verify base container
uses: EyeCantCU/cosign-action/[email protected]
with:
containers: wolfi-base
cert-identity: https://github.com/chainguard-images/images/.github/workflows/release.yaml@refs/heads/main
oidc-issuer: https://token.actions.githubusercontent.com
registry: cgr.dev/chainguard

# Build metadata
- name: Image Metadata
uses: docker/metadata-action@v5
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/build-wolfi-toolbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
schedule:
- cron: '20 22 * * *' # 10:20pm everyday
pull_request:
merge_group:
merge_group:
workflow_dispatch:
env:
IMAGE_NAME: wolfi-toolbox
Expand All @@ -24,11 +24,19 @@ jobs:
id-token: write
strategy:
fail-fast: false
steps:
steps:
# Checkout push-to-registry action GitHub repository
- name: Checkout Push to Registry action
uses: actions/checkout@v4


- name: Verify base container
uses: EyeCantCU/cosign-action/[email protected]
with:
containers: wolfi-base
cert-identity: https://github.com/chainguard-images/images/.github/workflows/release.yaml@refs/heads/main
oidc-issuer: https://token.actions.githubusercontent.com
registry: cgr.dev/chainguard

# Build metadata
- name: Image Metadata
uses: docker/metadata-action@v5
Expand Down

0 comments on commit e4ab9d3

Please sign in to comment.