Skip to content

Commit

Permalink
hotfix: rustci deps [#patch]
Browse files Browse the repository at this point in the history
  • Loading branch information
notdodo committed Oct 27, 2024
1 parent f3e366d commit 68afadc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,6 @@ jobs:
flavor: ${{ inputs.flavor }}
labels: ${{ inputs.labels }}

- name: Build and push
id: push
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75
# v6.9.0
with:
context: ${{ inputs.working-directory }}
file: ${{ inputs.working-directory }}/${{ inputs.dockerfile }}
labels: ${{ steps.metadata.outputs.labels }}
platforms: ${{ inputs.platforms }}
push: ${{ inputs.push }}
tags: ${{ steps.metadata.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Grab cache DB
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a
# v4.1.2
Expand All @@ -120,6 +106,20 @@ jobs:
with:
sarif_file: ${{ inputs.working-directory }}/clair_results.sarif

- name: Build and push
id: push
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75
# v6.9.0
with:
context: ${{ inputs.working-directory }}
file: ${{ inputs.working-directory }}/${{ inputs.dockerfile }}
labels: ${{ steps.metadata.outputs.labels }}
platforms: ${{ inputs.platforms }}
push: ${{ inputs.push }}
tags: ${{ steps.metadata.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Generate artifact attestation
if: inputs.push
uses: actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/local-clair-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Update Clair Vulnerability Database
on:
workflow_dispatch: {}
schedule:
- cron: "0 5 * * *" # Everyday at 5AM UTC
- cron: "0 0 * * 4" # At 00:00 on Thursday

jobs:
docker:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
build-and-deploy:
if: ${{ inputs.build-lambda || inputs.deploy-lambda }}
runs-on: ${{ inputs.runs-on }}
needs: build
defaults:
run:
working-directory: ${{ inputs.working-directory }}
Expand Down

0 comments on commit 68afadc

Please sign in to comment.