-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
454 additions
and
78 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,13 +29,12 @@ jobs: | |
contents: 'read' | ||
id-token: 'write' | ||
steps: | ||
- id: auth-gcp-master | ||
name: Authenticate to Google Cloud | ||
uses: google-github-actions/auth@v2 | ||
- name: Login at GCP Artifact Registry | ||
uses: celo-org/reusable-workflows/.github/actions/[email protected] | ||
with: | ||
workload_identity_provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain-add-tag/providers/github-by-repos' | ||
service_account: '[email protected]' | ||
access_token_lifetime: '10m' | ||
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: Install regctl | ||
run: | | ||
|
@@ -45,4 +44,4 @@ jobs: | |
- name: Use regctl to copy images (add tags) | ||
run: | | ||
regctl image copy {{ inputs.source-image }} {{ inputs.destination-image }} | ||
regctl image copy ${{ inputs.source-image }} ${{ inputs.destination-image }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,13 +16,13 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Login at GCP Artifact Registry | ||
uses: celo-org/reusable-workflows/.github/actions/[email protected].4 | ||
uses: celo-org/reusable-workflows/.github/actions/[email protected].5 | ||
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].4 | ||
uses: celo-org/reusable-workflows/.github/actions/[email protected].5 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
registry: us-west1-docker.pkg.dev/devopsre/dev-images/geth | ||
|
@@ -40,13 +40,13 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Login at GCP Artifact Registry | ||
uses: celo-org/reusable-workflows/.github/actions/[email protected].4 | ||
uses: celo-org/reusable-workflows/.github/actions/[email protected].5 | ||
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].4 | ||
uses: celo-org/reusable-workflows/.github/actions/[email protected].5 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
registry: us-west1-docker.pkg.dev/devopsre/dev-images/geth-all | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ jobs: | |
echo "MAJOR_MINOR=${semver[0]}.${semver[1]}" >> $GITHUB_OUTPUT | ||
build-container-geth-dev: | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].4 | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].5 | ||
if: startsWith(github.ref, 'refs/heads/release') | ||
needs: | ||
- replace-branch-name | ||
|
@@ -68,7 +68,7 @@ jobs: | |
trivy: true | ||
|
||
build-container-geth-all-dev: | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].4 | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].5 | ||
if: startsWith(github.ref, 'refs/heads/release') | ||
needs: | ||
- replace-branch-name | ||
|
@@ -83,7 +83,7 @@ jobs: | |
trivy: true | ||
|
||
build-container-geth-devopsre: | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].4 | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].5 | ||
if: startsWith(github.ref, 'refs/tags/v') && false | ||
needs: | ||
- replace-tag-v | ||
|
@@ -98,7 +98,7 @@ jobs: | |
trivy: true | ||
|
||
build-container-geth-all-devopsre: | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].4 | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].5 | ||
if: startsWith(github.ref, 'refs/tags/v') && false | ||
needs: | ||
- replace-tag-v | ||
|
@@ -113,7 +113,7 @@ jobs: | |
trivy: true | ||
|
||
build-container-geth-celo-org: | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].4 | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].5 | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
needs: | ||
- replace-tag-v | ||
|
@@ -128,7 +128,7 @@ jobs: | |
trivy: true | ||
|
||
build-container-geth-all-celo-org: | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].4 | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected].5 | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
needs: | ||
- replace-tag-v | ||
|
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
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
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
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
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
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
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
Oops, something went wrong.