File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,16 @@ security-scan:
7575 script :
7676 - test "$Docker_Hub_User_Parity" -a "$Docker_Hub_Pass_Parity" ||
7777 ( echo "no docker credentials provided"; exit 1 )
78+ - echo "Log INFO : values for the image that will be built"
79+ - echo
80+ buildah bud
81+ --format=docker
82+ --build-arg VCS_REF="$CI_COMMIT_SHA"
83+ --build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
84+ --build-arg VERSION="$DEPLOYMENT_TAG"
85+ --build-arg PORT="$APP_PORT"
86+ --tag "$DEPLOYMENT_IMAGE_REGISTRY:$DEPLOYMENT_TAG"
87+ --file src/server/Dockerfile .
7888 - buildah bud
7989 --format=docker
8090 --build-arg VCS_REF="$CI_COMMIT_SHA"
@@ -110,6 +120,7 @@ build-production:
110120 # https://docs.gitlab.com/ee/ci/examples/authenticating-with-hashicorp-vault/#example
111121 - export VAULT_TOKEN="$(vault write -field=token auth/$VAULT_AUTH_PATH/login role=$VAULT_AUTH_ROLE jwt=$CI_JOB_JWT)"
112122 - helm dependency update helm/
123+ - echo "Log INFO : values that will be deployed"
113124 - helm secrets upgrade
114125 --install
115126 --atomic
You can’t perform that action at this time.
0 commit comments