Created bullseye

This commit is contained in:
Deon George 2022-10-16 11:03:58 +11:00
parent 7c0e884443
commit 18805ccdab
4 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
stages: stages:
- build - build
variables: variables:
CACHETAG: build-${VERSION} CACHETAG: build-${VERSION}
@ -12,7 +12,7 @@ before_script:
- docker info - docker info
- docker version - docker version
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin - echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
- env|sort # env|sort
include: include:
- .gitlab-docker-x86_64.yml - .gitlab-docker-x86_64.yml

View File

@ -1,11 +1,11 @@
armv7l:build: build:armv7l:
variables: variables:
VERSION: armv7l-buster VERSION: armv7l
stage: build stage: build
image: docker:latest image: docker:latest
script: script:
- if [ -f init ]; then chmod 500 init; fi - if [ -f init ]; then chmod 500 init; fi
- docker pull ${CI_REGISTRY_IMAGE}:${CACHETAG} || true - ([ -z "$REFRESH" ] && docker pull ${CI_REGISTRY_IMAGE}:${CACHETAG}) || true
- docker build --cache-from ${CI_REGISTRY_IMAGE}:${CACHETAG} -t ${CI_REGISTRY_IMAGE}:${VERSION} -t ${CI_REGISTRY_IMAGE}:${CACHETAG} . - docker build --cache-from ${CI_REGISTRY_IMAGE}:${CACHETAG} -t ${CI_REGISTRY_IMAGE}:${VERSION} -t ${CI_REGISTRY_IMAGE}:${CACHETAG} .
- docker push ${CI_REGISTRY_IMAGE}:${VERSION} - docker push ${CI_REGISTRY_IMAGE}:${VERSION}
- docker push ${CI_REGISTRY_IMAGE}:${CACHETAG} - docker push ${CI_REGISTRY_IMAGE}:${CACHETAG}
@ -13,4 +13,4 @@ armv7l:build:
- docker - docker
- armv7l - armv7l
only: only:
- buster - master

View File

@ -1,6 +1,6 @@
x86_64:build: x86_64:build:
variables: variables:
VERSION: x86_64-buster VERSION: x86_64-bullseye
stage: build stage: build
image: docker:latest image: docker:latest
script: script:
@ -13,4 +13,4 @@ x86_64:build:
- docker - docker
- x86_64 - x86_64
only: only:
- buster - bullseye

View File

@ -1,7 +1,7 @@
# NAME leenooks/ci-apt # NAME leenooks/ci-apt
# VERSION buster-slim # VERSION bullseye-slim
FROM debian:buster-slim FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y git \ RUN apt-get update && apt-get install -y git \
build-essential devscripts debhelper dh-make quilt \ build-essential devscripts debhelper dh-make quilt \