Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Gentoo
Stage 3
Commits
2d870d23
Commit
2d870d23
authored
Dec 16, 2020
by
James T. Lee
Browse files
CI: Use buildah instead of docker
parent
05cbf3d2
Pipeline
#140
passed with stage
in 1 minute and 12 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
.gitlab-ci.yml
.gitlab-ci.yml
+6
-6
No files found.
.gitlab-ci.yml
View file @
2d870d23
---
---
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'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment