Skip to content

Commit

Permalink
Update container ci-cd workflow to latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jcortejoso committed Oct 26, 2023
1 parent ab07413 commit f8dc509
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-sign-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build-sign-commit-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
19 changes: 7 additions & 12 deletions .github/workflows/build-sign-release-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f8dc509

Please sign in to comment.