ci: update trivy-action to 0.28.0 #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "fhEVM Coprocessor Docker Image" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- security/trivy | ||
paths: | ||
- .github/workflows/fhevm-coprocessor.yml | ||
- .github/workflows/common-docker.yml | ||
- fhevm-engine/coprocessor/** | ||
- fhevm-engine/.sqlx | ||
- proto/** | ||
release: | ||
types: | ||
- published | ||
concurrency: | ||
group: fhevm-coprocessor-${{ github.ref_name }} | ||
cancel-in-progress: false | ||
jobs: | ||
docker-coprocessor: | ||
uses: ./.github/workflows/common-docker.yml | ||
Check failure on line 24 in .github/workflows/fhevm-coprocessor.yml GitHub Actions / .github/workflows/fhevm-coprocessor.ymlInvalid workflow file
|
||
permissions: | ||
contents: "read" | ||
id-token: "write" | ||
packages: "write" | ||
with: | ||
working-directory: "." | ||
push_image: ${{ github.event_name == 'release' || github.ref_name == 'main' }} | ||
image-name: "fhevm-coprocessor" | ||
generate-dev-image: false | ||
docker-file: "fhevm-engine/coprocessor/Dockerfile" | ||
arm-build: true | ||
secrets: | ||
BLOCKCHAIN_ACTIONS_TOKEN: ${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }} | ||
GRAVITON_BUILDER_SSH_PRIVATE_KEY: ${{ secrets.GRAVITON_BUILDER_SSH_PRIVATE_KEY }} | ||
done: | ||
runs-on: ubuntu-latest | ||
name: Pipeline Done | ||
steps: | ||
- name: Success | ||
run: echo Pipeline Done | ||
needs: | ||
- docker-coprocessor |