Skip to content

Support linux armhf/arm64 #4

Support linux armhf/arm64

Support linux armhf/arm64 #4

Workflow file for this run

name: Docker-ARM
on: [push, pull_request]
env:
IMAGE_NAME: wine
DOCKER_USERNAME: zixia
jobs:
build and push:

Check failure on line 10 in .github/workflows/docker-arm.yml

View workflow run for this annotation

GitHub Actions / Docker-ARM

Invalid workflow file

The workflow is not valid. .github/workflows/docker-arm.yml (Line: 10, Col: 3): The identifier 'build and push' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Docker Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log into registry
uses: docker/login-action@v3
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PERSONAL_ACCESS_TOKEN }}
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.arm
platforms: |-
linux/arm64
push: true
tags: |
${{ env.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:arm64