Skip to content

Add multi-architecture support for Docker image #151

Add multi-architecture support for Docker image

Add multi-architecture support for Docker image #151

Workflow file for this run

name: Docker Image CI (next)
on:
push:
branches: [ next ]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PWD }}
- name: Build and push
uses: docker/build-push-action@v5
platform: linux/amd64,linux/arm64

Check failure on line 24 in .github/workflows/next.yml

View workflow run for this annotation

GitHub Actions / Docker Image CI (next)

Invalid workflow file

The workflow is not valid. .github/workflows/next.yml (Line: 24, Col: 9): Unexpected value 'platform'
with:
tags: |
n4z3m/dialoqbase-next:latest
push: true
cache-from: type=gha
cache-to: type=gha,mode=max