Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jcortejoso committed Mar 19, 2024
1 parent 2915d42 commit 2b5e5d2
Showing 1 changed file with 0 additions and 58 deletions.
58 changes: 0 additions & 58 deletions .github/workflows/build-sign-commit-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,20 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Login at GCP Artifact Registry
<<<<<<< HEAD
# v2.0 is main at feb 1 2023
uses: celo-org/reusable-workflows/.github/actions/auth-gcp-artifact-registry@v2.0
=======
# v2.0.1 is main at Oct 26, 2023
uses: celo-org/reusable-workflows/.github/actions/auth-gcp-artifact-registry@v2.0.1
>>>>>>> 74c5f920c (Refactor container workflows)
with:
workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain-dev/providers/github-by-repos'
service-account: 'celo-blockchain-dev@devopsre.iam.gserviceaccount.com'
docker-gcp-registries: us-west1-docker.pkg.dev
- name: Build and push container
<<<<<<< HEAD
uses: celo-org/reusable-workflows/.github/actions/build-container@v2.0
=======
uses: celo-org/reusable-workflows/.github/actions/build-container@v2.0.1
>>>>>>> 74c5f920c (Refactor container workflows)
with:
platforms: linux/amd64,linux/arm64
registry: us-west1-docker.pkg.dev/devopsre/dev-images/geth
tags: ${{ github.sha }}
context: .
dockerfile: Dockerfile
<<<<<<< HEAD
push: ${{ fromJSON(true) }}
trivy: ${{ fromJSON(true) }}
=======
push: true
>>>>>>> 74c5f920c (Refactor container workflows)

build-container-geth-all:
runs-on: [self-hosted, blockchain, 8-cpu]
Expand All @@ -55,53 +40,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Login at GCP Artifact Registry
<<<<<<< HEAD
uses: celo-org/reusable-workflows/.github/actions/auth-gcp-artifact-registry@v2.0
=======
uses: celo-org/reusable-workflows/.github/actions/auth-gcp-artifact-registry@v2.0.1
>>>>>>> 74c5f920c (Refactor container workflows)
with:
workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain/providers/github-by-repos'
service-account: 'celo-blockchain-dev@devopsre.iam.gserviceaccount.com'
docker-gcp-registries: us-west1-docker.pkg.dev
- name: Build and push container
<<<<<<< HEAD
uses: celo-org/reusable-workflows/.github/actions/build-container@v2.0
with:
platforms: linux/amd64,linux/arm64
registry: us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/geth
tags: master
context: .
dockerfile: Dockerfile
push: ${{ fromJSON(true) }}
trivy: ${{ fromJSON(true) }}

build-container-geth-all-master:
runs-on: [self-hosted, blockchain, 8-cpu]
if: github.ref == 'refs/heads/master'
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/auth-gcp-artifact-registry@v2.0
with:
workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain/providers/github-by-repos'
service-account: 'celo-blockchain@devopsre.iam.gserviceaccount.com'
docker-gcp-registries: us-west1-docker.pkg.dev
- name: Build and push container
uses: celo-org/reusable-workflows/.github/actions/build-container@v2.0
with:
platforms: linux/amd64,linux/arm64
registry: us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/geth-all
tags: master
context: .
dockerfile: Dockerfile.alltools
push: ${{ fromJSON(true) }}
trivy: ${{ fromJSON(true) }}
=======
uses: celo-org/reusable-workflows/.github/actions/build-container@v2.0.1
with:
platforms: linux/amd64,linux/arm64
Expand All @@ -111,7 +55,6 @@ jobs:
dockerfile: Dockerfile.alltools
push: true


add-geth-master-tag:
if: github.ref == 'refs/heads/master'
uses: ./.github/workflows/add-docker-tag.yaml
Expand All @@ -129,4 +72,3 @@ jobs:
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:master
>>>>>>> 74c5f920c (Refactor container workflows)

0 comments on commit 2b5e5d2

Please sign in to comment.