Skip to content

Attempt multi arch build #38

Attempt multi arch build

Attempt multi arch build #38

Workflow file for this run

name: Build docker images
on:
push:
branches: [ master ]
permissions:
packages: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm64
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '20'
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
platforms: ${{ matrix.platform }}
tags: ghcr.io/markwylde/docker-gateway:latest