[skip ci] fix pipeline - remove error swallowing
This commit is contained in:
@@ -11,14 +11,14 @@ steps:
|
|||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
commands:
|
commands:
|
||||||
- 'TAG=${CI_COMMIT_SHA:0:8}'
|
- TAG=${CI_COMMIT_SHA:0:8}
|
||||||
- 'REGISTRY=git.mikhailkilin.ru'
|
- REGISTRY=git.mikhailkilin.ru
|
||||||
- 'REPO=killingdruid/bcard'
|
- REPO=killingdruid/bcard
|
||||||
- 'echo "Building $REGISTRY/$REPO:$TAG"'
|
- echo "Building $REGISTRY/$REPO:$TAG"
|
||||||
- 'AUTH=$(echo -n "$DOCKER_USERNAME:$DOCKER_PASSWORD" | base64)'
|
- AUTH=$(echo -n "$DOCKER_USERNAME:$DOCKER_PASSWORD" | base64)
|
||||||
- 'mkdir -p /kaniko/.docker'
|
- mkdir -p /kaniko/.docker
|
||||||
- 'printf "{\"auths\":{\"%s\":{\"auth\":\"%s\"}}}" "$REGISTRY" "$AUTH" > /kaniko/.docker/config.json'
|
- 'printf "{\"auths\":{\"%s\":{\"auth\":\"%s\"}}}" "$REGISTRY" "$AUTH" > /kaniko/.docker/config.json'
|
||||||
- '/kaniko/executor --context=$CI_WORKSPACE --dockerfile=$CI_WORKSPACE/Dockerfile --destination=$REGISTRY/$REPO:$TAG --destination=$REGISTRY/$REPO:latest --insecure --skip-tls-verify --verbosity=info 2>&1 || echo "KANIKO EXIT CODE: $?"'
|
- /kaniko/executor --context=$CI_WORKSPACE --dockerfile=$CI_WORKSPACE/Dockerfile --destination=$REGISTRY/$REPO:$TAG --destination=$REGISTRY/$REPO:latest --insecure --skip-tls-verify --verbosity=info
|
||||||
|
|
||||||
- name: update-manifests
|
- name: update-manifests
|
||||||
image: alpine
|
image: alpine
|
||||||
|
|||||||
Reference in New Issue
Block a user