Skip to content

fix and continuously validate SBOMs #2668

fix and continuously validate SBOMs

fix and continuously validate SBOMs #2668

Workflow file for this run

name: ci
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v2.1.5
with:
go-version-file: 'go.mod'
- name: build
run: |
make apko
./apko version
- name: Setup cosign (needed in CI tests)
uses: sigstore/cosign-installer@1fc5bd396d372bee37d608f955b336615edf79c8 # v3.2.0
- name: Setup crane (needed in CI tests)
uses: imjasonh/setup-crane@00c9e93efa4e1138c9a7a5c594acd6c75a2fbf0c # v0.3
- name: Run CI tests in hack/ci/
run: |
make ci
- uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v2.8.1
with:
version: latest
install-only: true
- name: snapshot
timeout-minutes: 30
run: |
make snapshot
./dist/apko-build_linux_amd64_v1/apko version