Skip to content

Docker

Docker #9

Workflow file for this run

name: Docker
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
inputs:
push:
description: Push image to configured registries
type: boolean
default: false
jobs:
docker:

Check failure on line 16 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / Docker

Invalid workflow file

The workflow is not valid. .github/workflows/docker.yml (Line: 16, Col: 3): Error calling workflow 'mildman1848/mildman1848-docker-image-template/.github/workflows/docker-build.yml@main'. The workflow is requesting 'packages: write, security-events: write, id-token: write', but is only allowed 'packages: read, security-events: none, id-token: none'.
uses: mildman1848/mildman1848-docker-image-template/.github/workflows/docker-build.yml@main
with:
image_name: postgresql-lsio
dockerfile: Dockerfile
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
app_version: 16.14
image_revision: mld1
push: ${{ github.event_name == 'workflow_dispatch' && inputs.push }}
# Optional registry targets. Configure matching credentials before enabling push.
gitlab_image: registry.gitlab.com/mildman1848/postgresql-lsio
codeberg_registry: codeberg.org
codeberg_image: codeberg.org/mildman1848/postgresql-lsio
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
GITLAB_REGISTRY_USER: ${{ secrets.GITLAB_REGISTRY_USER }}
GITLAB_REGISTRY_TOKEN: ${{ secrets.GITLAB_REGISTRY_TOKEN }}
CODEBERG_REGISTRY_USER: ${{ secrets.CODEBERG_REGISTRY_USER }}
CODEBERG_REGISTRY_TOKEN: ${{ secrets.CODEBERG_REGISTRY_TOKEN }}