Verified Commit a0c83a88 authored by noplanman's avatar noplanman
Browse files

Use GitLab container registry instead of Docker Hub

parent 6b9c872a
...@@ -22,6 +22,9 @@ arm64: ...@@ -22,6 +22,9 @@ arm64:
extends: .main extends: .main
variables: {ARCH: aarch64, NAME: "borg-${CI_COMMIT_TAG}-arm64"} variables: {ARCH: aarch64, NAME: "borg-${CI_COMMIT_TAG}-arm64"}
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
.main: .main:
stage: build stage: build
tags: [dind] tags: [dind]
......
...@@ -19,7 +19,7 @@ if [ -z "${BORG_ARCH}" ]; then ...@@ -19,7 +19,7 @@ if [ -z "${BORG_ARCH}" ]; then
exit 1; exit 1;
fi fi
DOCKER_IMAGE="noplanman/borg-binary-builder:base-${BORG_VERSION}-${BORG_ARCH}-py38" DOCKER_IMAGE="registry.git.feneas.org/borg-binary-builder/borg-binaries:base-${BORG_VERSION}-${BORG_ARCH}-py38"
echo "Building ${DOCKER_IMAGE}" echo "Building ${DOCKER_IMAGE}"
# Build the base image (clear BBB_HOT to build base image!). # Build the base image (clear BBB_HOT to build base image!).
......
...@@ -21,9 +21,9 @@ FROM_IMAGE="balenalib/${BORG_ARCH}-python:3.8-stretch-run" ...@@ -21,9 +21,9 @@ FROM_IMAGE="balenalib/${BORG_ARCH}-python:3.8-stretch-run"
# For building the hot binary, make use of the prebuilt base docker image to speed things up. # For building the hot binary, make use of the prebuilt base docker image to speed things up.
# Note: Only a limited number of architectures are supported, check here: # Note: Only a limited number of architectures are supported, check here:
# https://hub.docker.com/r/noplanman/borg-binary-builder/tags/ # https://git.feneas.org/borg-binary-builder/borg-binaries/container_registry/
if [ ! -z "${BBB_HOT}" ]; then if [ ! -z "${BBB_HOT}" ]; then
FROM_IMAGE="noplanman/borg-binary-builder:base-1.1.14-${BORG_ARCH}-py38" FROM_IMAGE="registry.git.feneas.org/borg-binary-builder/borg-binaries:base-1.1.14-${BORG_ARCH}-py38"
fi fi
echo "Building ${DOCKER_IMAGE}" echo "Building ${DOCKER_IMAGE}"
......
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