-
Notifications
You must be signed in to change notification settings - Fork 2
52 lines (44 loc) · 1.17 KB
/
build.yml
File metadata and controls
52 lines (44 loc) · 1.17 KB
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
46
47
48
49
50
51
52
name: Build and Push Docker Image
on:
push:
branches:
- main
paths-ignore:
- "README.md"
pull_request:
paths-ignore:
- "README.md"
release:
types: [published]
jobs:
check-files:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
validate-kustomize:
uses: datum-cloud/actions/.github/workflows/validate-kustomize.yaml@v1.9.0
publish-container-image:
needs: validate-kustomize
permissions:
id-token: write
contents: read
packages: write
uses: datum-cloud/actions/.github/workflows/publish-docker.yaml@v1.9.0
with:
image-name: auth-provider-zitadel
secrets: inherit
publish-kustomize-bundles:
needs: publish-container-image
permissions:
id-token: write
contents: read
packages: write
uses: datum-cloud/actions/.github/workflows/publish-kustomize-bundle.yaml@v1.9.0
with:
bundle-name: ghcr.io/datum-cloud/auth-provider-zitadel-kustomize
bundle-path: config
image-overlays: config/base
image-name: ghcr.io/datum-cloud/auth-provider-zitadel
debug: true
secrets: inherit