-
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.
Update container ci-cd workflow to latest tag
- Loading branch information
1 parent
ab07413
commit f8dc509
Showing
3 changed files
with
15 additions
and
20 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 |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
|
||
jobs: | ||
build-container-blockchain-binaries: | ||
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@1e4de01c8a4c8271b1a9599c72894684386d63cd | ||
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v1.12.3 | ||
with: | ||
workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain/providers/github-by-repos' | ||
service-account: '[email protected]' | ||
|
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,14 +16,14 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Login at GCP Artifact Registry | ||
# 1e4de01c8a4c8271b1a9599c72894684386d63cd is main at Sep 28, 2023 | ||
uses: celo-org/reusable-workflows/.github/actions/auth-gcp-artifact-registry@1e4de01c8a4c8271b1a9599c72894684386d63cd | ||
# v1.12.3 is main at Oct 26, 2023 | ||
uses: celo-org/reusable-workflows/.github/actions/auth-gcp-artifact-registry@v1.12.3 | ||
with: | ||
workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain-dev/providers/github-by-repos' | ||
service-account: '[email protected]' | ||
artifact-registry: us-west1-docker.pkg.dev/devopsre/dev-images/geth | ||
- name: Build and push container | ||
uses: celo-org/reusable-workflows/.github/actions/build-container@1e4de01c8a4c8271b1a9599c72894684386d63cd | ||
uses: celo-org/reusable-workflows/.github/actions/build-container@v1.12.3 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
registry: us-west1-docker.pkg.dev/devopsre/dev-images/geth | ||
|
@@ -43,13 +43,13 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Login at GCP Artifact Registry | ||
uses: celo-org/reusable-workflows/.github/actions/auth-gcp-artifact-registry@1e4de01c8a4c8271b1a9599c72894684386d63cd | ||
uses: celo-org/reusable-workflows/.github/actions/auth-gcp-artifact-registry@v1.12.3 | ||
with: | ||
workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain/providers/github-by-repos' | ||
service-account: '[email protected]' | ||
artifact-registry: us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/geth | ||
- name: Build and push container | ||
uses: celo-org/reusable-workflows/.github/actions/build-container@1e4de01c8a4c8271b1a9599c72894684386d63cd | ||
uses: celo-org/reusable-workflows/.github/actions/build-container@v1.12.3 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
registry: us-west1-docker.pkg.dev/devopsre/dev-images/geth | ||
|
@@ -69,13 +69,13 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Login at GCP Artifact Registry | ||
uses: celo-org/reusable-workflows/.github/actions/auth-gcp-artifact-registry@1e4de01c8a4c8271b1a9599c72894684386d63cd | ||
uses: celo-org/reusable-workflows/.github/actions/auth-gcp-artifact-registry@v1.12.3 | ||
with: | ||
workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain/providers/github-by-repos' | ||
service-account: '[email protected]' | ||
artifact-registry: us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/geth-all | ||
- name: Build and push container | ||
uses: celo-org/reusable-workflows/.github/actions/build-container@1e4de01c8a4c8271b1a9599c72894684386d63cd | ||
uses: celo-org/reusable-workflows/.github/actions/build-container@v1.12.3 | ||
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,8 +53,8 @@ jobs: | |
echo "MAJOR_MINOR=${semver[0]}.${semver[1]}" >> $GITHUB_OUTPUT | ||
build-container-geth-dev: | ||
# 7b956940a337e987289a6788c5a562a3e1e5c2ab is main at Oct 25th 2023 | ||
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@7b956940a337e987289a6788c5a562a3e1e5c2ab | ||
# v1.12.3 is main at Oct 25th 2023 | ||
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v1.12.3 | ||
if: startsWith(github.ref, 'refs/heads/release') | ||
needs: | ||
- replace-branch-name | ||
|
@@ -70,8 +70,7 @@ jobs: | |
|
||
|
||
build-container-geth-all-dev: | ||
# 7b956940a337e987289a6788c5a562a3e1e5c2ab is main at Oct 25th 2023 | ||
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@7b956940a337e987289a6788c5a562a3e1e5c2ab | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | ||
if: startsWith(github.ref, 'refs/heads/release') | ||
needs: | ||
- replace-branch-name | ||
|
@@ -86,8 +85,7 @@ jobs: | |
trivy: true | ||
|
||
build-container-geth-devopsre: | ||
# 7b956940a337e987289a6788c5a562a3e1e5c2ab is main at Oct 25th 2023 | ||
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@7b956940a337e987289a6788c5a562a3e1e5c2ab | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | ||
if: startsWith(github.ref, 'refs/tags/v') && false | ||
needs: | ||
- replace-tag-v | ||
|
@@ -102,8 +100,7 @@ jobs: | |
trivy: true | ||
|
||
build-container-geth-all-devopsre: | ||
# 7b956940a337e987289a6788c5a562a3e1e5c2ab is main at Oct 25th 2023 | ||
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@7b956940a337e987289a6788c5a562a3e1e5c2ab | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | ||
if: startsWith(github.ref, 'refs/tags/v') && false | ||
needs: | ||
- replace-tag-v | ||
|
@@ -118,8 +115,7 @@ jobs: | |
trivy: true | ||
|
||
build-container-geth-celo-org: | ||
# 7b956940a337e987289a6788c5a562a3e1e5c2ab is main at Oct 25th 2023 | ||
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@7b956940a337e987289a6788c5a562a3e1e5c2ab | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
needs: | ||
- replace-tag-v | ||
|
@@ -134,8 +130,7 @@ jobs: | |
trivy: true | ||
|
||
build-container-geth-all-celo-org: | ||
# 7b956940a337e987289a6788c5a562a3e1e5c2ab is main at Oct 25th 2023 | ||
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@7b956940a337e987289a6788c5a562a3e1e5c2ab | ||
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
needs: | ||
- replace-tag-v | ||
|