-
Notifications
You must be signed in to change notification settings - Fork 146
Expand file tree
/
Copy pathbuild-and-push-staged-images.yml
More file actions
49 lines (44 loc) · 1.19 KB
/
build-and-push-staged-images.yml
File metadata and controls
49 lines (44 loc) · 1.19 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
name: Staged Images
on:
pull_request:
branches: ["main"]
paths-ignore:
- '**/*.md'
push:
branches:
- main
permissions: {}
jobs:
build_staged_images_pr:
name: Build staged images (all) [PR]
if: github.event_name == 'pull_request'
permissions:
contents: read
uses: ./.github/workflows/workflow-call-build-staged-images.yml
with:
image_group: all
build_option: ''
build_staged_images_push:
name: Build staged images (all) [push]
if: github.event_name == 'push'
permissions:
packages: write
contents: read
uses: ./.github/workflows/workflow-call-build-staged-images.yml
with:
image_group: all
build_option: --push
secrets:
GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish_manifests:
name: Publish multi-arch manifests
needs: build_staged_images_push
if: github.event_name == 'push'
permissions:
packages: write
contents: read
uses: ./.github/workflows/workflow-call-publish-staged-manifests.yml
with:
tags: '["kbs","kbs-grpc-as","coco-as-grpc","coco-as-restful","rvps","kbs-client-image"]'
secrets:
GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}