Commit 2d870d23 authored by James T. Lee's avatar James T. Lee
Browse files

CI: Use buildah instead of docker

parent 05cbf3d2
Pipeline #140 passed with stage
in 1 minute and 12 seconds
--- ---
default: default:
image: 'docker:19.03.13' image: 'quay.io/containers/buildah'
before_script:
- 'buildah login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"'
stages: stages:
- 'sync' - 'sync'
'Sync gentoo/stage3:amd64-systemd': 'Sync gentoo/stage3:amd64-systemd':
stage: 'sync' stage: 'sync'
tags: ['docker']
script: script:
- 'docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY' - 'buildah pull gentoo/stage3:amd64-systemd'
- 'docker pull gentoo/stage3:amd64-systemd' - 'buildah tag gentoo/stage3:amd64-systemd "${CI_REGISTRY_IMAGE}:amd64-systemd"'
- 'docker tag gentoo/stage3:amd64-systemd $CI_REGISTRY_IMAGE:amd64-systemd' - 'buildah push "${CI_REGISTRY_IMAGE}:amd64-systemd"'
- 'docker push $CI_REGISTRY_IMAGE:amd64-systemd'
Markdown is supported
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