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

Use nest/tools/buildah image

parent 47fdbeb1
Pipeline #221 passed with stage
in 35 minutes and 6 seconds
--- ---
variables: variables:
JOBS: 8 JOBS: 8
STORAGE_DRIVER: 'vfs'
default: default:
image: 'quay.io/containers/buildah' image: '${CI_REGISTRY}/nest/tools/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"'
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