Commit 95224342 authored by Sean's avatar Sean 🎨

Give up on the multi line life

parent cbad2b09
Pipeline #119114615 passed with stages
in 1 minute and 39 seconds
......@@ -51,11 +51,7 @@ test:
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- |
/kaniko/executor
--context $CI_PROJECT_DIR/tools/seeded-postgres-db
--dockerfile $CI_PROJECT_DIR/tools/seeded-postgres-db/Dockerfile
--destination $CI_REGISTRY/postgres:$CI_COMMIT_SHORT_SHA
- /kaniko/executor --context $CI_PROJECT_DIR/tools/seeded-postgres-db --dockerfile $CI_PROJECT_DIR/tools/seeded-postgres-db/Dockerfile --destination $CI_REGISTRY/postgres:$CI_COMMIT_SHORT_SHA
main-docker:
stage: package
......@@ -77,8 +73,4 @@ main-docker:
POSTGRES_PASSWORD: pass
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- |
CI=TRUE /kaniko/executor
--context $CI_PROJECT_DIR
--dockerfile $CI_PROJECT_DIR/Dockerfile
--destination $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
- CI=TRUE /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
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