Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PE-6262: arm builds #18

Merged
merged 3 commits into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions .github/workflows/test_and_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,37 +37,47 @@ jobs:
checks: write
packages: write
steps:
# Prepare the Docker build environment
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Setup Docker buildx
uses: docker/setup-buildx-action@v3

- uses: actions/checkout@v4
# Build and push container image to GCR (only on main branch)
- name: Log in to the GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push upload service container image to GitHub Container Registry
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/ardriveapp/${{ github.event.repository.name }}:latest
ghcr.io/ardriveapp/${{ github.event.repository.name }}:${{ github.sha }}

- name: Build and push fulfillment container image to GitHub Container Registry
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
file: Dockerfile.fulfillment
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/ardriveapp/${{ github.event.repository.name }}-fulfillment:latest
ghcr.io/ardriveapp/${{ github.event.repository.name }}-fulfillment:${{ github.sha }}

- name: Build and push localstack container image to GitHub Container Registry
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
file: Dockerfile.localstack
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/ardriveapp/${{ github.event.repository.name }}-localstack:latest
ghcr.io/ardriveapp/${{ github.event.repository.name }}-localstack:${{ github.sha }}
Loading