Docker Publish #546
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 Publish | |
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
on: | |
schedule: | |
- cron: '23 11 * * *' | |
push: | |
branches: [ "main", "github-renovate/*" ] | |
# Publish semver tags as releases. | |
tags: [ 'v*.*.*' ] | |
pull_request: | |
branches: [ "main", "github-renovate/*" ] | |
jobs: | |
build: | |
permissions: | |
contents: read | |
packages: write | |
# This is used to complete the identity challenge | |
# with sigstore/fulcio when running outside of PRs. | |
id-token: write | |
strategy: | |
matrix: | |
image: | |
- minimal | |
- debug | |
include: | |
- suffix: -minimal | |
target: hcloud-cli-minimal | |
- suffix: -debug | |
target: hcloud-cli-debug | |
uses: rwunderer/renovate/.github/workflows/reusable-docker-publish.yml@main | |
with: | |
suffix: ${{ matrix.suffix }} | |
target: ${{ matrix.target }} | |
docker-description: Minimal Docker image with Hetzner cli utility | |
secrets: inherit |