Skip to content

Docker

Docker #482

Workflow file for this run

name: Docker
on:
schedule:
- cron: "15 14 * * *"
push:
branches: ["main"]
# Publish semver tags as releases.
tags: ["v*.*.*"]
pull_request:
branches: ["main"]
workflow_dispatch:
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
jobs:
docker-cli:
uses: FyraLabs/actions/.github/workflows/docker.yml@main
with:
publish: ${{ github.event_name != 'pull_request' }}
dockerfile: cli.Dockerfile
image_name: ${{ github.repository }}-cli
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write
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