Commit 52e88dfe authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'fix/gb/remove-serverless-app-build-policies-from-template' into 'master'

Remove build policies from serverless app template

Closes #62792

See merge request gitlab-org/gitlab-ce!29253
parents 48ca0ddf 7f52685a
---
title: Remove build policies from serverless app template
merge_request: 29253
author:
type: fixed
...@@ -14,9 +14,6 @@ stages: ...@@ -14,9 +14,6 @@ stages:
image: image:
name: gcr.io/kaniko-project/executor:debug name: gcr.io/kaniko-project/executor:debug
entrypoint: [""] entrypoint: [""]
only:
refs:
- master
script: script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/$DOCKERFILE --destination $CI_REGISTRY_IMAGE - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/$DOCKERFILE --destination $CI_REGISTRY_IMAGE
...@@ -24,9 +21,6 @@ stages: ...@@ -24,9 +21,6 @@ stages:
.serverless:deploy:image: .serverless:deploy:image:
stage: deploy stage: deploy
image: gcr.io/triggermesh/tm@sha256:e3ee74db94d215bd297738d93577481f3e4db38013326c90d57f873df7ab41d5 image: gcr.io/triggermesh/tm@sha256:e3ee74db94d215bd297738d93577481f3e4db38013326c90d57f873df7ab41d5
only:
refs:
- master
environment: development environment: development
script: script:
- echo "$CI_REGISTRY_IMAGE" - echo "$CI_REGISTRY_IMAGE"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment