Files
yml/templates/build-container.tpl.yml
DeveloperDurp 0060b532f6 Update 4 files
- /scripts/version-number.sh
- /scripts/helm-package.sh
- /scripts/docker-build.sh
- /templates/build-container.tpl.yml
2023-04-09 20:08:02 +00:00

40 lines
675 B
YAML

stages:
- versioning
- build
version:
stage: versioning
script:
- ./scripts/version-number.sh
artifacts:
reports:
dotenv: version.env
build-container:
image: docker:20.10.16
variables:
DOCKER_TLS_CERTDIR: "/certs"
services:
- docker:20.10.16-dind
stage: build
script:
- ./scripts/docker-login.sh
- ./scripts/docker-build.sh
needs:
- job: version
artifacts: true
only:
- main
HelmChart:
image: dtzar/helm-kubectl
stage: build
script:
- ./scripts/helm-addrepo.sh
- ./scripts/helm-package.sh
- ./scripts/helm-push.sh
needs:
- job: version
artifacts: true
only:
- main