mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 18:19:33 +00:00
Set correct tag for building docker images
This commit is contained in:
@@ -26,6 +26,9 @@ if [ "$BUILD_IMAGE" == "" ]; then
|
||||
BUILD_IMAGE=$(eval echo $(grep boulder-tools $TMP_DIR/src/docker-compose.yml | grep "image:" | head -1 | sed -e "s/image://" | sed -e "s/&boulder_image//"))
|
||||
fi
|
||||
|
||||
BOULDER_TOOLS_TAG=$(grep go1. $TMP_DIR/src/.github/workflows/boulder-ci.yml | head -1 | sed -e "s/\s*- //")
|
||||
BUILD_IMAGE=${BUILD_IMAGE/latest/$BOULDER_TOOLS_TAG}
|
||||
|
||||
echo
|
||||
$cloneDir/patch.sh
|
||||
cp -r test labca
|
||||
|
||||
@@ -6,7 +6,7 @@ index aeb34b387..16db397ae 100644
|
||||
# The `letsencrypt/boulder-tools:latest` tag is automatically built in local
|
||||
# dev environments. In CI a specific BOULDER_TOOLS_TAG is passed, and it is
|
||||
# pulled with `docker compose pull`.
|
||||
- image: &boulder_image letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-go1.21.5_2023-12-11}
|
||||
- image: &boulder_image letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-latest}
|
||||
+ image: ghcr.io/hakwerk/labca-boulder:${LABCA_IMAGE_VERSION:-latest}
|
||||
build:
|
||||
context: test/boulder-tools/
|
||||
|
||||
@@ -77,7 +77,6 @@ echo
|
||||
|
||||
echo "Boulder CI tag(s):"
|
||||
grep go1. ../boulder/.github/workflows/boulder-ci.yml
|
||||
colorCITag build/tmp.patch
|
||||
colorCITag build/Dockerfile-boulder
|
||||
echo
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ index c580176cd..aeb34b387 100644
|
||||
# dev environments. In CI a specific BOULDER_TOOLS_TAG is passed, and it is
|
||||
# pulled with `docker compose pull`.
|
||||
- image: letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-latest}
|
||||
+ image: &boulder_image letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-go1.21.5_2023-12-11}
|
||||
+ image: &boulder_image letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-latest}
|
||||
build:
|
||||
context: test/boulder-tools/
|
||||
# Should match one of the GO_DEV_VERSIONS in test/boulder-tools/tag_and_upload.sh.
|
||||
|
||||
Reference in New Issue
Block a user