Skip to content

Added support for ARM #29

Added support for ARM

Added support for ARM #29

name: Docker Image CI
on:
push:
branches: [ "dev" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# https://github.com/docker/setup-qemu-action#usage
- name: Set up QEMU
uses: docker/[email protected]
# https://github.com/marketplace/actions/docker-setup-buildx
- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected]
# https://github.com/docker/login-action#docker-hub
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# https://github.com/docker/build-push-action#multi-platform-image

Check failure on line 34 in .github/workflows/docker-image-dev.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-image-dev.yml

Invalid workflow file

You have an error in your yaml syntax on line 34
- name: Build and push Website
uses: docker/[email protected]
with:
context: .
file: ./Dockerfile
tags: glax/tranga-website:dev
#platforms: linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6
platforms: linux/amd64,linux/arm64
pull: true
push: true