forked from confidential-containers/cloud-api-adaptor
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 1.02 KB
/
publish_images_on_push.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
34
35
36
37
38
39
40
41
42
43
44
# (C) Copyright Confidential Containers Contributors 2023.
# SPDX-License-Identifier: Apache-2.0
#
# Build and push project images on pull requests merged.
---
name: Publish project images
on:
push:
branches:
- 'main'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
caa:
uses: ./.github/workflows/caa_build_and_push_per_arch.yaml
with:
git_ref: ${{ github.sha }}
secrets: inherit
csi-wrapper:
uses: ./.github/workflows/csi_wrapper_images.yaml
with:
image_tags: latest,${{ github.sha }}
git_ref: ${{ github.sha }}
secrets: inherit
peerpod-ctrl:
uses: ./.github/workflows/peerpod-ctrl_image.yaml
with:
image_tags: latest,${{ github.sha }}
git_ref: ${{ github.sha }}
secrets: inherit
webhook:
uses: ./.github/workflows/webhook_image.yaml
with:
image_tags: ${{ github.sha }},latest
git_ref: ${{ github.sha }}
secrets: inherit