Docker Image CI #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Docker Image CIInvalid workflow file
|
||
- 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 |