Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/cilock-action-oidc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:
run: go install github.com/securego/gosec/v2/cmd/gosec@latest

- name: lint + secrets
uses: aflock-ai/cilock-action@v1.0.0
uses: aflock-ai/cilock-action@v1.0.1
with:
step: lint
command: echo "lint passed"
attestations: environment git github secretscan
platform-url: ${{ env.STAGING_URL }}

- name: sast
uses: aflock-ai/cilock-action@v1.0.0
uses: aflock-ai/cilock-action@v1.0.1
with:
step: sast
command: bash -c "gosec -fmt=sarif -out=gosec-results.sarif ./... || true"
Expand All @@ -54,15 +54,15 @@ jobs:
cilock-args: --attestor-product-include-glob "*.sarif"

- name: test
uses: aflock-ai/cilock-action@v1.0.0
uses: aflock-ai/cilock-action@v1.0.1
with:
step: test
command: go test -count=1 ./...
attestations: environment git github
platform-url: ${{ env.STAGING_URL }}

- name: build + sbom
uses: aflock-ai/cilock-action@v1.0.0
uses: aflock-ai/cilock-action@v1.0.1
with:
step: build
command: bash -c "CGO_ENABLED=0 go build -o bin/dropbox-clone ./cmd/api && syft bin/dropbox-clone -o cyclonedx-json=bin/bom.cdx.json"
Expand All @@ -71,7 +71,7 @@ jobs:
cilock-args: --attestor-product-include-glob "bin/*"

- name: docker-build
uses: aflock-ai/cilock-action@v1.0.0
uses: aflock-ai/cilock-action@v1.0.1
with:
step: docker-build
command: docker buildx build --metadata-file docker-metadata.json -t dropbox-clone:test --load .
Expand Down
Loading