-
-
Notifications
You must be signed in to change notification settings - Fork 27
40 lines (36 loc) · 1.27 KB
/
create-release.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
name: create-release
on:
workflow_dispatch:
inputs:
version:
description: 'Version'
required: true
jobs:
release:
uses: ckotzbauer/actions-toolkit/.github/workflows/[email protected]
with:
version: ${{ github.event.inputs.version }}
docker-platforms: linux/amd64,linux/arm64
docker-tags: |
ghcr.io/ckotzbauer/sbom-operator:${{ github.event.inputs.version }}
ghcr.io/ckotzbauer/sbom-operator:latest
cosign-repository: ghcr.io/ckotzbauer/sbom-operator-metadata
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
pat: ${{ secrets.REPO_ACCESS }}
ghcr-password: ${{ secrets.GHCR_PASSWORD }}
job-image-vcn:
uses: ckotzbauer/sbom-operator/.github/workflows/release-job-image.yml@main
needs: [release]
with:
version: ${{ github.event.inputs.version }}
job-image: vcn
docker-platforms: linux/amd64
docker-tags: |
ghcr.io/ckotzbauer/sbom-operator/vcn:${{ github.event.inputs.version }}
ghcr.io/ckotzbauer/sbom-operator/vcn:latest
cosign-repository: ghcr.io/ckotzbauer/sbom-operator-metadata
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
pat: ${{ secrets.REPO_ACCESS }}
ghcr-password: ${{ secrets.GHCR_PASSWORD }}