Skip to content

Docker Publish

Docker Publish #558

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 12 * * *'
push:
branches: [ "main" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
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: scw-cli-minimal
- suffix: -debug
target: scw-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 Scaleway cli utility
secrets: inherit