Commit 54ac0376 authored by Gadhave's avatar Gadhave
Browse files

Update .gitlab-ci.yml file

parent 13a7855d
Pipeline #12070 failed
...@@ -40,22 +40,16 @@ test: ...@@ -40,22 +40,16 @@ test:
after_script: after_script:
- echo "Tests completed succesfully" - echo "Tests completed succesfully"
build_with_kaniko: build:
stage: build stage: build
image: image: quay.io/buildah/stable
name: gcr.io/kaniko-project/executor:latest variables:
entrypoint: ["/kaniko/executor"] STORAGE_DRIVER: vfs
script: BUILDAH_FORMAT: docker
- --context=dir://$CI_PROJECT_DIR/$DOCKER_CONTEXT FQ_IMAGE_NAME: "$CI_REGISTRY_IMAGE/test"
- --dockerfile=$CI_PROJECT_DIR/$DOCKER_CONTEXT/Dockerfile before_script:
- --no-push - echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
- --tarPath=$CI_PROJECT_DIR/${IMAGE_NAME}_${CI_COMMIT_SHORT_SHA}.tar script:
- --verbosity=info -echo "A Temp Build running"
artifacts:
paths:
- ${IMAGE_NAME}_${CI_COMMIT_SHORT_SHA}.tar
expire_in: 1 day
tags:
- docker
Supports Markdown
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