Remove build policies from serverless app template

This commit is contained in:
Grzegorz Bizon 2019-06-06 10:52:29 +00:00 committed by Kamil Trzciński
parent 48ca0ddfa2
commit 7f52685a41
2 changed files with 5 additions and 6 deletions

View File

@ -0,0 +1,5 @@
---
title: Remove build policies from serverless app template
merge_request: 29253
author:
type: fixed

View File

@ -14,9 +14,6 @@ stages:
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
only:
refs:
- master
script:
- 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
@ -24,9 +21,6 @@ stages:
.serverless:deploy:image:
stage: deploy
image: gcr.io/triggermesh/tm@sha256:e3ee74db94d215bd297738d93577481f3e4db38013326c90d57f873df7ab41d5
only:
refs:
- master
environment: development
script:
- echo "$CI_REGISTRY_IMAGE"