Fix ipv4 + adds constraint to stage hcl #333
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
name: Build Docker Images | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build-and-push: | |
runs-on: ${{ matrix.platform.runs-on }} | |
strategy: | |
matrix: | |
platform: | |
- name: linux/amd64 | |
image-suffix: amd64 | |
runs-on: ubuntu-latest | |
- name: linux/arm64 | |
image-suffix: arm64 | |
runs-on: arm64 | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Build and push | |
uses: ./.github/actions/build-and-push | |
with: | |
docker-username: ${{ github.actor }} | |
docker-password: ${{ secrets.GITHUB_TOKEN }} | |
docker-base-repo: ghcr.io/anyone-protocol/ator-protocol-dev-${{ matrix.platform.image-suffix }} | |
docker-tag: latest-pr | |
docker-platform: ${{ matrix.platform.name }} | |
version: ${{ github.sha }} | |
environment: dev | |
push: false |