-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (51 loc) · 1.75 KB
/
publish.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
# yamllint disable rule:line-length
# yamllint disable rule:truthy
---
name: publish image
on:
push:
branches:
- "!*"
tags:
- "*"
jobs:
# alpine-publish:
# name: publish alpine image
# uses: ThoughtWorks-DPS/gha-tools-action/.github/workflows/publish-container.yaml@main
# secrets:
# OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
# with:
# image: twdps/gha-container-base-image
# sign-image: true
# sbom: true
# release-notes: true
# release-message: New release Alpine ThoughtWorks-DPS/gha-container-base-image
# before-publish: true
ubuntu-22-publish:
name: publish ubuntu.22 image
uses: ThoughtWorks-DPS/gha-tools-action/.github/workflows/publish-container.yaml@main
secrets:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
with:
image: twdps/gha-container-base-image
tag-annotation: 22.04-
release-tag: 22.04
sign-image: true
sbom: true
release-notes: true
release-body-path: release-notes.md
release-message: New release Ubuntu 22.04 ThoughtWorks-DPS/gha-container-base-image
before-publish: gha-container-base-image_dev.${GITHUB_SHA:0:7}_docker_build.log
# ubuntu-24-publish:
# name: publish ubuntu.24 image
# uses: ThoughtWorks-DPS/gha-tools-action/.github/workflows/publish-container.yaml@main
# secrets:
# OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
# with:
# image: twdps/gha-container-base-image
# tag-annotation: ubuntu-24.
# sign-image: true
# sbom: true
# release-notes: true
# release-message: New release Ubuntu.2404 ThoughtWorks-DPS/gha-container-base-image
# before-publish: true