This commit is contained in:
Lukas Eipert 2022-02-21 18:03:45 +01:00
parent 0805203846
commit 596d6b643d
2 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,5 @@
kaniko:
extends: .deploy
stage: kaniko
stage: kaniko
script:
- ./kaniko/build.sh

View file

@ -19,7 +19,7 @@ fi
echo "Building image $DOCKER_IMAGE"
docker build -f "$KANIKO_DIR/Dockerfile" "$KANIKO_DIR"
docker build -t "$DOCKER_IMAGE" -f "$KANIKO_DIR/Dockerfile" "$KANIKO_DIR"
echo "Pushing $DOCKER_IMAGE"
docker push "$DOCKER_IMAGE"