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: ...@@ -40,25 +40,12 @@ test:
after_script: after_script:
- echo "Tests completed succesfully" - echo "Tests completed succesfully"
build: build_image:
stage: build stage: build
image: quay.io/buildah/stable tags:
variables: - windows-local-runner
# Use vfs with buildah. Docker offers overlayfs as a default, but Buildah - docker
# 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
script: 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