-
Notifications
You must be signed in to change notification settings - Fork 1
73 lines (68 loc) · 2.53 KB
/
push.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
name: Build and Push to Greenbone Registry
on:
push:
branches: [ main ]
tags: ["v*"]
pull_request:
branches: [ main ]
workflow_dispatch:
inputs:
ref-name:
type: string
description: "The ref to build a container image from. For example a tag v23.0.0."
required: true
schedule:
# rebuild image every sunday
- cron: "0 0 * * 0"
jobs:
build-redis-server:
name: Build and Push Redis Server to Greenbone Registry
uses: greenbone/workflows/.github/workflows/container-build-push-2nd-gen.yml@main
with:
build-docker-file: ./redis-server/Dockerfile
build-context: ./redis-server
image-url: community/redis-server
image-labels: |
org.opencontainers.image.vendor=Greenbone
org.opencontainers.image.documentation=https://greenbone.github.io/docs/
org.opencontainers.image.base.name=debian:stable-slim
ref-name: ${{ inputs.ref-name }}
secrets: inherit
build-mqtt-broker:
name: Build and Push mqtt Broker to Greenbone Registry
uses: greenbone/workflows/.github/workflows/container-build-push-2nd-gen.yml@main
with:
build-docker-file: ./mqtt-broker/Dockerfile
build-context: ./mqtt-broker
image-url: community/mqtt-broker
image-labels: |
org.opencontainers.image.vendor=Greenbone
org.opencontainers.image.documentation=https://greenbone.github.io/docs/
org.opencontainers.image.base.name=debian:stable-slim
ref-name: ${{ inputs.ref-name }}
secrets: inherit
build-gpg-data:
name: Build and Push gpg Data to Greenbone Registry
uses: greenbone/workflows/.github/workflows/container-build-push-2nd-gen.yml@main
with:
build-docker-file: ./gpg-data/Dockerfile
build-context: ./gpg-data
image-url: community/gpg-data
image-labels: |
org.opencontainers.image.vendor=Greenbone
org.opencontainers.image.documentation=https://greenbone.github.io/docs/
org.opencontainers.image.base.name=busybox:stable
ref-name: ${{ inputs.ref-name }}
secrets: inherit
build-doxygen:
name: Build and Push Doxygen to Greenbone Registry
uses: greenbone/workflows/.github/workflows/container-build-push-2nd-gen.yml@main
with:
build-docker-file: ./doxygen/doxygen.Dockerfile
build-context: ./doxygen
image-url: community/doxygen
image-labels: |
org.opencontainers.image.vendor=Greenbone
org.opencontainers.image.base.name=debian:stable-slim
ref-name: ${{ inputs.ref-name }}
secrets: inherit