Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hashworks
archlinux-docker
Commits
59e29b7a
Verified
Commit
59e29b7a
authored
Jul 30, 2020
by
hashworks
Browse files
Switch to compress-rootfs in CI since xz is now using --threads
parent
0fa3f77f
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
59e29b7a
...
...
@@ -8,10 +8,10 @@ roofs:
image
:
archlinux:latest
script
:
-
pacman -Syu --noconfirm make devtools fakechroot fakeroot
-
make
archlinux.tar
-
make
compress-rootfs
artifacts
:
paths
:
-
archlinux.tar
-
archlinux.tar
.xz
expire_in
:
10m
docker
:
...
...
@@ -20,9 +20,11 @@ docker:
name
:
gcr.io/kaniko-project/executor:debug
entrypoint
:
[
"
"
]
script
:
-
test -f archlinux.tar
-
test -f archlinux.tar
.xz
# kaniko can't process .tar.xz archives
# https://github.com/GoogleContainerTools/kaniko/issues/1107
-
unxz archlinux.tar.xz
-
test -f archlinux.tar
-
sed -i 's/archlinux\.tar\.xz/archlinux\.tar/g' Dockerfile
-
echo "Building ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}"
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
...
...
Write
Preview
Supports
Markdown
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