Skip to content

Merge pull request #1 from tminaorg/ci #1

Merge pull request #1 from tminaorg/ci

Merge pull request #1 from tminaorg/ci #1

Workflow file for this run

name: Docker CI
on:
push:
branches: ['main']
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permission:

Check failure on line 14 in .github/workflows/dockerci.yml

View workflow run for this annotation

GitHub Actions / Docker CI

Invalid workflow file

The workflow is not valid. .github/workflows/dockerci.yml (Line: 14, Col: 5): Unexpected value 'permission'
contents: read
packages: read
steps:
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/metadata-action@v4
id: meta
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- uses: docker/build-push-action@v5
env:
API_URL: 'http://example.org'
PUBLIC_API_URL: 'http://example.org'
with:
context: .
file: ./docker/Dockerfile
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
platforms: |-
linux/amd64
linux/arm64