Skip to content

Commit

Permalink
impv(actions): refactor naming for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
traviolus committed Dec 17, 2024
1 parent a855b12 commit de88fe6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/informative-indexer-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build, Test, Push & Deploy Informative Indexer Docker Image
name: Build, Test, Push & Deploy Core Informative Indexer Docker Image

env:
GIT_SHA: ${{ github.sha }}
Expand Down Expand Up @@ -47,11 +47,11 @@ jobs:
- name: Build Informative Indexer Image
run: |
docker build -t informative-indexer:${{ steps.vars.outputs.sha_short }} -f dockerfiles/Dockerfile.informative .
docker tag informative-indexer:${{ steps.vars.outputs.sha_short }} asia-southeast1-docker.pkg.dev/alles-share/shared-docker-images/core-indexer/initia-informative-indexer:${{ steps.vars.outputs.sha_short }}
docker build -t core-informative-indexer:${{ steps.vars.outputs.sha_short }} -f dockerfiles/Dockerfile.informative .
docker tag core-informative-indexer:${{ steps.vars.outputs.sha_short }} asia-southeast1-docker.pkg.dev/alles-share/shared-docker-images/core-indexer/initia-core-informative-indexer:${{ steps.vars.outputs.sha_short }}
- name: Push Informative Indexer Image
run: docker push asia-southeast1-docker.pkg.dev/alles-share/shared-docker-images/core-indexer/initia-informative-indexer:${{ steps.vars.outputs.sha_short }}
run: docker push asia-southeast1-docker.pkg.dev/alles-share/shared-docker-images/core-indexer/initia-core-informative-indexer:${{ steps.vars.outputs.sha_short }}

deploy:
runs-on: ubuntu-latest
Expand All @@ -75,7 +75,7 @@ jobs:
url: https://api.github.com/repos/alleslabs/celatone-infrastructure/dispatches
method: "POST"
headers: '{ "Accept": "application/vnd.github.everest-preview+json", "Authorization": "token ${{ steps.token.outputs.github_token }}" }'
body: '{ "event_type": "informative_indexer", "client_payload": { "network": "initia", "chain_id": "initiation-2", "sha_short": ${{ needs.push.outputs.sha_short }} } }'
body: '{ "event_type": "core_informative_indexer", "client_payload": { "network": "initia", "chain_id": "initiation-2", "sha_short": ${{ needs.push.outputs.sha_short }} } }'
timeout: 10000
log-response: true
retries: 3

0 comments on commit de88fe6

Please sign in to comment.