Skip to content

Build and publish for multiple platforms #157

Build and publish for multiple platforms

Build and publish for multiple platforms #157

Workflow file for this run

---
name: publisher
'on':
push:
schedule:
- cron: '0 5 * * *'
tags:
- v*
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v5
id: meta
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: |
maintainer=David Rabkin
org.opencontainers.image.title=Goredoer
org.opencontainers.image.description=Goredoer builds Goredo.
org.opencontainers.image.vendor=David Rabkin
tags: |
type=raw,value=latest
type=schedule,pattern=nightly
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}},priority=901
- uses: docker/build-push-action@v5
id: build-and-push
with:
context: .
file: Containerfile
platforms:
- linux/386

Check failure on line 44 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / publisher

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 44, Col: 13): A sequence was not expected
- linux/amd64
- linux/arm/v6
- linux/arm/v7
- linux/arm64
- linux/mips64
- linux/mips64le
- linux/ppc64le
- linux/riscv64
- linux/s390x
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}