-
Notifications
You must be signed in to change notification settings - Fork 2
56 lines (52 loc) · 1.7 KB
/
build-int-on-push.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
name: 'Build INT on push to master'
on:
workflow_dispatch:
inputs:
image_repo:
description: "Image repo"
type: string
required: true
image_url:
description: "URL to push image to"
type: string
required: true
configmanagement:
description: "Configmanagement to write image tag to"
type: string
required: true
configmanagement_branch:
description: "Configmanagement branch to put the image tag into"
type: string
required: false
kustomization_path:
description: "Path to kustomization file"
type: string
required: true
identifier:
description: 'Identifier for commit-message, could be a namespace or project-name'
type: string
required: false
default: 'deployment'
push:
branches:
- 'master'
- 'feature/cloudscale'
paths-ignore:
- 'doc/**'
- '**.md'
jobs:
build-image:
uses: ./.github/workflows/reusable_lint_test_build_update.yaml
with:
# repository: gitlab.puzzle.ch/pitc_ruby/deployments/decidim.git
# file: ./deployments/${{ needs.settings.outputs.namespace_name }}/kustomization.yaml
# image_tag: ${{ needs.version.outputs.version }}
# image_ref: rails
# identifier: ${{ needs.settings.outputs.namespace_name }}
image_repo: "https://harbor.puzzle.ch"
image_url: "harbor.puzzle.ch/decidim/stzh-int-rails"
configmanagement: "gitlab.puzzle.ch/pitc_ruby/deployments/decidim/"
configmanagement_branch: "main"
kustomization_path: "./deployments/pitc-decidim-stzh-int/kustomization.yaml"
identifier: "stzh-int"
secrets: inherit