-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (63 loc) · 2.29 KB
/
development-build.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
# yamllint disable rule:line-length
# yamllint disable rule:truthy
---
name: development build and release
on:
push:
branches:
- "*"
tags:
- "!*"
jobs:
# alpine-dev-release:
# name: development build and release of alpine image
# uses: ThoughtWorks-DPS/gha-tools-action/.github/workflows/job-container-dev-release.yaml@main
# secrets:
# OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
# with:
# image: twdps/gha-container-base-image
# opencontainer-labels: true
# before-static-analysis: true
# snyk-scan: true
# snyk-severity-threshold: medium
# snyk-organization: twdps
# bats-test: true
# bats-run-container-name: gha-container-base-image
# bats-entry-point: /bin/ash
# bats-test-path: test/gha-container-base-image.bats
ubuntu-22-dev-release:
name: development build and release of ubuntu.2204 image
uses: ThoughtWorks-DPS/gha-tools-action/.github/workflows/job-container-dev-release.yaml@main
secrets:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
with:
dockerfile: Dockerfile.ubuntu.22
image: twdps/gha-container-base-image
tag-annotation: 22.04-
opencontainer-labels: true
before-static-analysis: true
snyk-scan: true
snyk-severity-threshold: medium
snyk-organization: twdps
bats-test: true
bats-run-container-name: gha-container-base-image
bats-entry-point: /bin/bash
bats-test-path: test/gha-container-base-image-ubuntu-22.bats
# ubuntu-24-dev-release:
# name: development build and release of ubuntu.2404 image
# uses: ThoughtWorks-DPS/gha-tools-action/.github/workflows/job-container-dev-release.yaml@main
# secrets:
# OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
# with:
# dockerfile: Dockerfile.ubuntu.24
# image: twdps/gha-container-base-image
# tag-annotation: ubuntu-24.
# opencontainer-labels: true
# before-static-analysis: true
# snyk-scan: true
# snyk-severity-threshold: medium
# snyk-organization: twdps
# bats-test: true
# bats-run-container-name: gha-container-base-image
# bats-entry-point: /bin/bash
# bats-test-path: test/gha-container-base-image-ubuntu-24.bats