Commit 2b5e9522 authored by Gadhave's avatar Gadhave
Browse files

Update .gitlab-ci.yml file

parent f4f53de7
Pipeline #12078 canceled with stages
......@@ -40,25 +40,12 @@ test:
after_script:
- echo "Tests completed succesfully"
build:
build_image:
stage: build
image: quay.io/buildah/stable
variables:
# Use vfs with buildah. Docker offers overlayfs as a default, but Buildah
# cannot stack overlayfs on top of another overlayfs filesystem.
STORAGE_DRIVER: vfs
# Write all image metadata in the docker format, not the standard OCI format.
# Newer versions of docker can handle the OCI format, but older versions, like
# the one shipped with Fedora 30, cannot handle the format.
BUILDAH_FORMAT: docker
FQ_IMAGE_NAME: "telegram-bot"
before_script:
- echo $DOCKER_PASSWORD
- echo $DOCKER_USERNAME
- echo $DOCKER_REGISTRY
- buildah --storage-driver=vfs login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" docker.io
tags:
- windows-local-runner
- docker
script:
- echo "Temp Docker Image running"
- echo "Checking Docker version..."
- docker version
- echo "Building Docker image..."
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