Skip to content

ci: use Fyra's reusable Docker workflow #1

ci: use Fyra's reusable Docker workflow

ci: use Fyra's reusable Docker workflow #1

Workflow file for this run

name: Docker
on:
schedule:
- cron: "15 14 * * *"
push:
paths:
- "Dockerfile"
- "src/**"
- "Cargo.lock"
- "Cargo.toml"
- ".dockerignore"
- ".github/workflows/docker-publish.yml"
branches: ["main", "staging"]
# Publish semver tags as releases.
tags: ["v*.*.*"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
docker:

Check failure on line 22 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: 22, Col: 3): Error calling workflow 'FyraLabs/actions/.github/workflows/docker.yml@main'. The nested job 'build' is requesting 'packages: write, id-token: write', but is only allowed 'packages: read, id-token: none'.
uses: FyraLabs/actions/.github/workflows/docker.yml@main
with:
publish: ${{ github.event_name != 'pull_request' }}