Docker #313
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker | |
on: | |
schedule: | |
- cron: "15 14 * * *" | |
push: | |
paths: | |
- "Dockerfile" | |
- "src/**" | |
- "Cargo.lock" | |
- "Cargo.toml" | |
- ".dockerignore" | |
- ".github/workflows/docker.yml" | |
branches: ["main", "stable"] | |
# Publish semver tags as releases. | |
tags: ["v*.*.*"] | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
jobs: | |
docker: | |
uses: FyraLabs/actions/.github/workflows/docker.yml@main | |
with: | |
publish: ${{ github.event_name != 'pull_request' }} | |
permissions: | |
contents: read | |
packages: write | |
# This is used to complete the identity challenge | |
# with sigstore/fulcio when running outside of PRs. | |
id-token: write |