ci(minor): fix from in dockerfile

This commit is contained in:
Langhammer, Jens 2019-10-04 14:04:51 +02:00
parent 34cbf5f702
commit 43dd858cd5
2 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,8 @@ coverage:
- postgres:latest - postgres:latest
- redis:latest - redis:latest
package-passbook-server: build-passbook-server:
stage: build
image: image:
name: gcr.io/kaniko-project/executor:debug name: gcr.io/kaniko-project/executor:debug
entrypoint: [""] entrypoint: [""]
@ -95,7 +96,6 @@ package-passbook-server:
- echo "{\"auths\":{\"docker.beryju.org\":{\"auth\":\"$DOCKER_AUTH\"}}}" > /kaniko/.docker/config.json - echo "{\"auths\":{\"docker.beryju.org\":{\"auth\":\"$DOCKER_AUTH\"}}}" > /kaniko/.docker/config.json
script: script:
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination docker.beryju.org/passbook/server:latest --destination docker.beryju.org/passbook/server:0.5.0-beta - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination docker.beryju.org/passbook/server:latest --destination docker.beryju.org/passbook/server:0.5.0-beta
stage: build
only: only:
- tags - tags
- /^version/.*$/ - /^version/.*$/

View File

@ -1,4 +1,4 @@
FROM docker.beryju.org/passbook/base:test FROM docker.beryju.org/passbook/base:latest
COPY ./passbook/ /app/passbook COPY ./passbook/ /app/passbook
COPY ./manage.py /app/ COPY ./manage.py /app/