File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ pipeline:
1616 - echo $CONTAINER_PASSWORD | docker login $DRYCC_REGISTRY --username $CONTAINER_USERNAME --password-stdin > /dev/null 2>&1
1717 - make docker-build docker-immutable-push
1818 secrets :
19+ - codename
1920 - dev_registry
2021 - drycc_registry
2122 - container_username
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ pipeline:
1414 commands :
1515 - make test
1616 secrets :
17+ - codename
1718 - dev_registry
1819 when :
1920 event :
Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ build:
2828 @echo Nothing to do.
2929
3030docker-build :
31- docker build ${DOCKER_BUILD_FLAGS} -t ${IMAGE} -f rootfs/Dockerfile rootfs
31+ docker build ${DOCKER_BUILD_FLAGS} --build-arg CODENAME= ${CODENAME} - t ${IMAGE} -f rootfs/Dockerfile rootfs
3232 docker tag ${IMAGE} ${MUTABLE_IMAGE}
3333
3434docker-buildx :
35- docker buildx build --platform ${PLATFORM} ${DOCKER_BUILD_FLAGS} -t ${IMAGE} -f rootfs/Dockerfile rootfs --push
35+ docker buildx build --build-arg CODENAME= ${CODENAME} -- platform ${PLATFORM} ${DOCKER_BUILD_FLAGS} -t ${IMAGE} -f rootfs/Dockerfile rootfs --push
3636
3737deploy : docker-build docker-push
3838
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
55 labels :
66 heritage : drycc
77data :
8- buildpacks : " {{.Values.imageRegistry}}/{{.Values.imageOrg}}/buildpacks:bookworm "
8+ buildpacks : " {{.Values.imageRegistry}}/{{.Values.imageOrg}}/buildpacks:{{.Values.codename}} "
99 auths.json : |
1010 {
1111 "auths": {
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ imageOrg: "drycc"
22imagePullPolicy : " Always"
33imageTag : " canary"
44imageRegistry : " registry.drycc.cc"
5+ codename : bookworm
56containerRegistries : |
67 unqualified-search-registries = ["registry.drycc.cc"]
78 short-name-mode="permissive"
Original file line number Diff line number Diff line change 1- FROM registry.drycc.cc/drycc/base:bookworm
1+ ARG CODENAME
2+ FROM registry.drycc.cc/drycc/base:${CODENAME}
23
34ENV DRYCC_UID=1001 \
45 DRYCC_GID=1001 \
56 DRYCC_HOME_DIR=/home/drycc \
67 PODMAN_VERSION="4.5.1" \
7- MC_VERSION="2023.06.15.15.08.26 " \
8+ MC_VERSION="2023.06.23.18.12.07 " \
89 CADDY_VERSION="2.6.4" \
910 PACK_VERSION="0.29.0" \
1011 GOSU_VERSION="1.16"
You can’t perform that action at this time.
0 commit comments