-
Notifications
You must be signed in to change notification settings - Fork 37
33 lines (29 loc) · 1021 Bytes
/
release.yaml
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
name: Release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
permissions:
id-token: write
contents: read
jobs:
upload-artifacts:
uses: ./.github/workflows/upload-artifacts.yaml
secrets:
CR_PAT: ${{ secrets.CR_PAT }}
ACR_LOGIN_SERVER: ${{ secrets.ACR_LOGIN_SERVER }}
ACR_USER: ${{ secrets.ACR_USER }}
ACR_PASSWORD: ${{ secrets.ACR_PASSWORD }}
AWS_MARKETPLACE_ROLE_OIDC: ${{ secrets.AWS_MARKETPLACE_ROLE_OIDC }}
AWS_MARKETPLACE_ECR_ID: ${{ secrets.AWS_MARKETPLACE_ECR_ID }}
SIGNING_SECRET_KEY_RING: ${{ secrets.SIGNING_SECRET_KEY_RING }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
OSSRH_USERNAMAE: ${{ secrets.OSSRH_USERNAMAE }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
create-release:
needs: upload-artifacts
if: ${{ success() }}
uses: ./.github/workflows/create-release.yaml
secrets:
GH_PROJECT_ACCESS_TOKEN: ${{ secrets.GH_PROJECT_ACCESS_TOKEN }}