44 workflow_dispatch :
55 inputs :
66 image_repo :
7- description : " Image repo"
7+ description : ' Image repo'
88 type : string
9- required : true
9+ required : false
10+ default : ' https://harbor.puzzle.ch'
1011 image_url :
11- description : " URL to push image to"
12+ description : ' URL to push image to'
1213 type : string
13- required : true
14+ required : false
15+ default : ' harbor.puzzle.ch/decidim/stzh-int-rails'
1416 configmanagement :
15- description : " Configmanagement to write image tag to"
17+ description : ' Configmanagement to write image tag to'
1618 type : string
17- required : true
19+ required : false
20+ default : ' gitlab.puzzle.ch/pitc_ruby/deployments/decidim/'
1821 configmanagement_branch :
19- description : " Configmanagement branch to put the image tag into"
22+ description : ' Configmanagement branch to put the image tag into'
2023 type : string
2124 required : false
25+ default : ' main'
2226 kustomization_path :
23- description : " Path to kustomization file"
27+ description : ' Path to kustomization file'
2428 type : string
2529 required : true
30+ default : ' ./deployments/pitc-decidim-stzh-int/kustomization.yaml'
2631 identifier :
2732 description : ' Identifier for commit-message, could be a namespace or project-name'
2833 type : string
2934 required : false
30- default : ' deployment '
35+ default : ' stzh-int '
3136
3237 push :
3338 branches :
@@ -41,16 +46,10 @@ jobs:
4146 build-image :
4247 uses : ./.github/workflows/reusable_lint_test_build_update.yaml
4348 with :
44- # repository: gitlab.puzzle.ch/pitc_ruby/deployments/decidim.git
45- # file: ./deployments/${{ needs.settings.outputs.namespace_name }}/kustomization.yaml
46- # image_tag: ${{ needs.version.outputs.version }}
47- # image_ref: rails
48- # identifier: ${{ needs.settings.outputs.namespace_name }}
49-
50- image_repo : " https://harbor.puzzle.ch"
51- image_url : " harbor.puzzle.ch/decidim/stzh-int-rails"
52- configmanagement : " gitlab.puzzle.ch/pitc_ruby/deployments/decidim/"
53- configmanagement_branch : " main"
54- kustomization_path : " ./deployments/pitc-decidim-stzh-int/kustomization.yaml"
55- identifier : " stzh-int"
49+ image_repo : ${{ inputs.image_repo }}
50+ image_url : ${{ inputs.image_url }}
51+ configmanagement : ${{ inputs.configmanagement }}
52+ configmanagement_branch : ${{ inputs.configmanagement_branch }}
53+ kustomization_path : ${{ inputs.kustomization_path }}
54+ identifier : ${{ inputs.identifier }}
5655 secrets : inherit
0 commit comments