-
Notifications
You must be signed in to change notification settings - Fork 4
76 lines (55 loc) · 1.8 KB
/
deliver_docker_dev.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
name: "Deliver / Container / Dev"
env:
DEV_CICD_DEBUG: ""
on:
workflow_dispatch:
jobs:
deliver-docker-dev-l0:
runs-on: "ubuntu-latest"
permissions: "write-all"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
DEV_AUTH_CONTAINER_USER: "${{ secrets.DEV_AUTH_CONTAINER_USER }}"
DEV_AUTH_COSIGN_USER: "${{ secrets.DEV_AUTH_COSIGN_USER }}"
strategy:
matrix:
scope:
- "DEV_L0"
steps:
- name: "Check out repository code"
uses: "actions/checkout@main"
- name: "Prepare base tools"
run: "./bin/dev-lib-installer64 && ./bin/dev-lib-bashlib64"
- name: "Prepare docker tool"
run: "./bin/dev-auth-container"
- name: "Prepare cosign tool"
run: "./bin/dev-lib-cosign && ./bin/dev-auth-cosign"
- name: "Build and publish container images"
run: "./bin/dev-build-container ${{ matrix.scope }} ON"
deliver-docker-dev-l1:
runs-on: "ubuntu-latest"
permissions: "write-all"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
DEV_AUTH_CONTAINER_USER: "${{ secrets.DEV_AUTH_CONTAINER_USER }}"
DEV_AUTH_COSIGN_USER: "${{ secrets.DEV_AUTH_COSIGN_USER }}"
strategy:
matrix:
scope:
- "DEV_L1_A"
- "DEV_L1_B"
needs:
- "deliver-docker-dev-l0"
steps:
- name: "Check out repository code"
uses: "actions/checkout@main"
- name: "Prepare base tools"
run: "./bin/dev-lib-installer64 && ./bin/dev-lib-bashlib64"
- name: "Prepare docker tool"
run: "./bin/dev-auth-container"
- name: "Prepare cosign tool"
run: "./bin/dev-lib-cosign && ./bin/dev-auth-cosign"
- name: "Build and publish container images"
run: "./bin/dev-build-container ${{ matrix.scope }} ON"
...