-
Notifications
You must be signed in to change notification settings - Fork 13
87 lines (75 loc) · 2.52 KB
/
build-push-tools.yml
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
77
78
79
80
81
82
83
84
85
86
87
name: 22.Build and Push Tools Images
on:
push:
branches:
- main
paths:
- .github/workflows/build-push-tools.yml
- tools/**
workflow_dispatch:
env:
GITHUB_REGISTRY: ghcr.io
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-push-airflow:
runs-on: ubuntu-22.04
timeout-minutes: 5
permissions:
contents: read
packages: write
steps:
- uses: hmarr/debug-action@f7318c783045ac39ed9bb497e22ce835fdafbfe6
- uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Build and Push
uses: egose/actions/docker-build-push@53b95f40ba39c1b460ad6ab6f6ccdb38cc8a9695
with:
registry-url: ${{ env.GITHUB_REGISTRY }}
registry-username: ${{ github.actor }}
registry-password: ${{ secrets.GITHUB_TOKEN }}
image-name: bcgov/pltsvc-tools-airflow
docker-context: tools/airflow
docker-file: tools/airflow/Dockerfile
metadata-tags: |
type=sha,format=long,prefix=,suffix=
build-push-zap:
runs-on: ubuntu-22.04
timeout-minutes: 5
permissions:
contents: read
packages: write
steps:
- uses: hmarr/debug-action@f7318c783045ac39ed9bb497e22ce835fdafbfe6
- uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Build and Push
uses: egose/actions/docker-build-push@53b95f40ba39c1b460ad6ab6f6ccdb38cc8a9695
with:
registry-url: ${{ env.GITHUB_REGISTRY }}
registry-username: ${{ github.actor }}
registry-password: ${{ secrets.GITHUB_TOKEN }}
image-name: bcgov/pltsvc-tools-zap
docker-context: tools/zap
docker-file: tools/zap/Dockerfile
metadata-tags: |
type=sha,format=long,prefix=,suffix=
build-push-sonarscan:
runs-on: ubuntu-22.04
timeout-minutes: 5
permissions:
contents: read
packages: write
steps:
- uses: hmarr/debug-action@f7318c783045ac39ed9bb497e22ce835fdafbfe6
- uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Build and Push
uses: egose/actions/docker-build-push@53b95f40ba39c1b460ad6ab6f6ccdb38cc8a9695
with:
registry-url: ${{ env.GITHUB_REGISTRY }}
registry-username: ${{ github.actor }}
registry-password: ${{ secrets.GITHUB_TOKEN }}
image-name: bcgov/pltsvc-tools-sonarscan
docker-context: tools/sonarscan
docker-file: tools/sonarscan/Dockerfile
metadata-tags: |
type=sha,format=long,prefix=,suffix=