fix(deps): update module github.com/docker/docker to v25 [security] #1100
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: Build and Sign Blockchain Commit Images | |
on: | |
push: | |
branches-ignore: | |
- 'release/[0-9]+.[0-9]+' | |
workflow_dispatch: | |
jobs: | |
build-container-geth: | |
runs-on: [self-hosted, blockchain, 8-cpu] | |
permissions: | |
contents: read | |
id-token: write | |
security-events: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login at GCP Artifact Registry | |
uses: celo-org/reusable-workflows/.github/actions/[email protected] | |
with: | |
workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain-dev/providers/github-by-repos' | |
service-account: '[email protected]' | |
docker-gcp-registries: us-west1-docker.pkg.dev | |
- name: Build and push container | |
uses: celo-org/reusable-workflows/.github/actions/[email protected] | |
with: | |
platforms: linux/amd64,linux/arm64 | |
registry: us-west1-docker.pkg.dev/devopsre/dev-images/geth | |
tags: ${{ github.sha }} | |
context: . | |
dockerfile: Dockerfile | |
push: true | |
build-container-geth-all: | |
runs-on: [self-hosted, blockchain, 8-cpu] | |
permissions: | |
contents: read | |
id-token: write | |
security-events: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login at GCP Artifact Registry | |
uses: celo-org/reusable-workflows/.github/actions/[email protected] | |
with: | |
workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain-dev/providers/github-by-repos' | |
service-account: '[email protected]' | |
docker-gcp-registries: us-west1-docker.pkg.dev | |
- name: Build and push container | |
uses: celo-org/reusable-workflows/.github/actions/[email protected] | |
with: | |
platforms: linux/amd64,linux/arm64 | |
registry: us-west1-docker.pkg.dev/devopsre/dev-images/geth-all | |
tags: ${{ github.sha }} | |
context: . | |
dockerfile: Dockerfile.alltools | |
push: true | |
add-geth-master-tag: | |
if: github.ref == 'refs/heads/master' | |
uses: ./.github/workflows/add-docker-tag.yaml | |
needs: | |
- build-container-geth | |
with: | |
source-image: us-west1-docker.pkg.dev/devopsre/dev-images/geth:${{ github.sha }} | |
destination-image: us-west1-docker.pkg.dev/devopsre/dev-images/geth:master | |
add-geth-all-master-tag: | |
if: github.ref == 'refs/heads/master' | |
uses: ./.github/workflows/add-docker-tag.yaml | |
needs: | |
- build-container-geth-all | |
with: | |
source-image: us-west1-docker.pkg.dev/devopsre/dev-images/geth-all:${{ github.sha }} | |
destination-image: us-west1-docker.pkg.dev/devopsre/dev-images/geth-all:master |