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
Stage 0
Commits
c347b028
Commit
c347b028
authored
Dec 20, 2020
by
James T. Lee
Browse files
Use nest/tools/buildah image
parent
47fdbeb1
Pipeline
#221
passed with stage
in 35 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
.gitlab-ci.yml
.gitlab-ci.yml
+4
-6
No files found.
.gitlab-ci.yml
View file @
c347b028
---
---
variables
:
variables
:
JOBS
:
8
JOBS
:
8
STORAGE_DRIVER
:
'
vfs'
default
:
default
:
image
:
'
quay.io/container
s/buildah'
image
:
'
${CI_REGISTRY}/nest/tool
s/buildah
:haswell
'
before_script
:
before_script
:
-
'
cp
"$REGISTRIES_CONF"
/etc/containers/registries.conf
'
-
'
buildah
login
--username
"$CI_REGISTRY_USER"
--password
"$CI_REGISTRY_PASSWORD"
"$CI_REGISTRY"
'
'
Build
haswell'
:
'
Build
haswell'
:
stage
:
'
build'
stage
:
'
build'
...
@@ -14,7 +13,6 @@ default:
...
@@ -14,7 +13,6 @@ default:
script
:
script
:
-
'
mkdir
debug'
-
'
mkdir
debug'
-
'
buildah
bud
--pull
--squash
-
'
buildah
bud
--pull
--squash
--creds="${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}"
--security-opt
seccomp=unconfined
--security-opt
seccomp=unconfined
--build-arg
GENTOO_STAGE3_TAG=amd64
--build-arg
GENTOO_STAGE3_TAG=amd64
--build-arg
EMERGE_DEFAULT_OPTS="--jobs=${JOBS}
--usepkg"
--build-arg
EMERGE_DEFAULT_OPTS="--jobs=${JOBS}
--usepkg"
...
@@ -24,5 +22,5 @@ default:
...
@@ -24,5 +22,5 @@ default:
-v
/nest:/nest
-v
/nest:/nest
-t
"${CI_REGISTRY_IMAGE}:haswell"
.'
-t
"${CI_REGISTRY_IMAGE}:haswell"
.'
-
'
buildah
bud
-t
"${CI_REGISTRY_IMAGE}/debug:haswell"
-f
Containerfile.debug
.'
-
'
buildah
bud
-t
"${CI_REGISTRY_IMAGE}/debug:haswell"
-f
Containerfile.debug
.'
-
'
buildah
push
--creds="${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}"
"${CI_REGISTRY_IMAGE}:haswell"'
-
'
buildah
push
"${CI_REGISTRY_IMAGE}:haswell"'
-
'
buildah
push
--creds="${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}"
"${CI_REGISTRY_IMAGE}/debug:haswell"'
-
'
buildah
push
"${CI_REGISTRY_IMAGE}/debug:haswell"'
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