Skip to content

Docker Image CI

Docker Image CI #13

Workflow file for this run

name: Docker Image CI
on: workflow_dispatch
jobs:
build-x64:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Docker login
run: docker login -u meshtastic -p ${{secrets.DOCKER_TOKEN}}
- name: Docker setup
uses: docker/setup-buildx-action@v2
- name: Docker build and push
uses: docker/build-push-action@v5
with:
context: ./x64
push: true
tags: meshtastic/github-action-runner:latest
build-arm64:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
name: Set up QEMU
- name: Docker login
run: docker login -u meshtastic -p ${{secrets.DOCKER_TOKEN}}
- name: Docker setup
uses: docker/setup-buildx-action@v3
platforms: linux/arm64

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

View workflow run for this annotation

GitHub Actions / Docker Image CI

Invalid workflow file

The workflow is not valid. .github/workflows/docker-image.yml (Line: 40, Col: 7): Unexpected value 'platforms' .github/workflows/docker-image.yml (Line: 44, Col: 7): Unexpected value 'platforms'
- name: Docker build and push
uses: docker/build-push-action@v6
platforms: linux/arm64
with:
context: ./arm64
push: true
tags: meshtastic/github-action-runner:latest