mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-31 21:37:11 +01:00
98d3e475d3
* build and run on arm64 * multiarch docker build * add ARM64 warning to README.md
23 lines
539 B
YAML
23 lines
539 B
YAML
name: Docker build & push
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3
|
|
- name: build and push
|
|
if: ${{ env.DOCKER_USERNAME != '' && env.DOCKER_PASSWORD != '' }}
|
|
env:
|
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
|
run: |
|
|
./build.py --push-tags --multiarch
|