Building containers for primata/add-deploy-hypernative #5135
This file contains hidden or 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
| name: 📦 Build Push Containers | |
| run-name: Building containers for ${{ github.event.pull_request.head || github.ref_name }} | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| read-github-context-object: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # I know this is not pretty (debug information) but it's useful to have this | |
| - name: Read github context | |
| env: | |
| GITHUB_CONTEXT: ${{ toJson(github) }} | |
| run: | | |
| echo "GITHUB_SHA=${GITHUB_SHA}" | |
| echo "INFO: github context object content below" | |
| echo "${GITHUB_CONTEXT}" | |
| build-push-checked-containers: | |
| uses: ./.github/workflows/build-push-container.yml | |
| name: Build Push Checked Containers | |
| secrets: inherit | |
| strategy: | |
| matrix: | |
| container_name: | |
| - movement-full-node | |
| - movement-faucet-service | |
| - movement-indexer | |
| - movement-indexer-v2 | |
| with: | |
| container_name: ${{ matrix.container_name }} | |
| build-push-checked-manifest: | |
| uses: ./.github/workflows/build-push-manifest.yml | |
| name: Build Push Checked Manifest | |
| needs: | |
| - build-push-checked-containers | |
| secrets: inherit | |
| strategy: | |
| matrix: | |
| container_name: | |
| - movement-full-node | |
| - movement-faucet-service | |
| - movement-indexer | |
| - movement-indexer-v2 | |
| with: | |
| container_name: ${{ matrix.container_name }} |