-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 1.05 KB
/
docker-publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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