Skip to content

Commit

Permalink
Merge pull request #1019 from celo-org/pputman/update-workflow
Browse files Browse the repository at this point in the history
update to workflow version 2.0
  • Loading branch information
pputman-clabs authored Feb 1, 2024
2 parents 27fa83d + 1313397 commit 0652afb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/blockscout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -747,29 +747,28 @@ jobs:
Build-Blockscout:
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v1.8
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v2.0
needs: [set-docker-vars]
with:
workload-id-provider: ${{ needs.set-docker-vars.outputs.workload-id-provider }}
service-account: ${{ needs.set-docker-vars.outputs.service-account }}
artifact-registry: "${{ needs.set-docker-vars.outputs.artifact-registry }}/blockscout"
tag: ${{ needs.set-docker-vars.outputs.tag }}
tags: ${{ needs.set-docker-vars.outputs.tag }}
context: .
file: docker/Dockerfile
build-args: |
"FORCE_MIX_COMPILE_CACHE_MISS=${{ needs.set-docker-vars.outputs.sha }}"
trivy: true
trivy-timeout: 20m


Build-Blockscout-api:
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v1.8
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v2.0
needs: [set-docker-vars]
with:
workload-id-provider: ${{ needs.set-docker-vars.outputs.workload-id-provider }}
service-account: ${{ needs.set-docker-vars.outputs.service-account }}
artifact-registry: "${{ needs.set-docker-vars.outputs.artifact-registry }}/blockscout-api"
tag: ${{ needs.set-docker-vars.outputs.tag }}
tags: ${{ needs.set-docker-vars.outputs.tag }}
context: .
file: docker/Dockerfile
build-args: |
Expand All @@ -778,4 +777,3 @@ jobs:
"DISABLE_INDEXER=true",
"DISABLE_WEBAPP=true",
trivy: true
trivy-timeout: 20m

0 comments on commit 0652afb

Please sign in to comment.