Skip to content

Commit

Permalink
Migrate to the new infra
Browse files Browse the repository at this point in the history
  • Loading branch information
krolol authored Dec 13, 2023
1 parent 82f1f6e commit 4ecffed
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,17 @@ on:
- master-cere
workflow_dispatch:

permissions:
id-token: write
contents: read

jobs:
build:
uses: Cerebellum-Network/reusable-workflows/.github/workflows/build-and-push-docker.yaml@1.0.0
uses: Cerebellum-Network/reusable-workflows/.github/workflows/deploy-to-ecr.yaml@master
with:
runs-on: '["self-hosted", "cere-network-large-workers"]'
org: cerebellumnetwork
environment: prod
image: crb-${{ github.event.repository.name }}
repository: crb-${{ github.event.repository.name }}
runs-on: '["self-hosted", "cere-network-large"]'
environment: prd
aws_account_id: ${{ vars.DEV_NETWORK_AWS_ACCOUNT_ID }}
repository: network-relayer
file: ./Dockerfile
secrets: inherit

deploy:
uses: Cerebellum-Network/reusable-workflows/.github/workflows/[email protected]
needs: build
with:
runs-on: '["self-hosted", "cere-network-prd-deployer"]'
helm-repo-path: network/network-relayer
helm-release: network-relayer
namespace: network
tag: ${{ needs.build.outputs.version }}
environment: prod
secrets: inherit

0 comments on commit 4ecffed

Please sign in to comment.