File tree 2 files changed +4
-2
lines changed 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ jobs:
222
222
$(cat build/coder_"$version"_linux_{amd64,arm64,armv7}.tag)
223
223
fi
224
224
env :
225
- CODER_IMAGE_BUILD_BASE_TAG : ${{ steps.image-base-tag.outputs.tag }}
225
+ CODER_BASE_IMAGE_TAG : ${{ steps.image-base-tag.outputs.tag }}
226
226
227
227
- name : ls build
228
228
run : ls -lh build
Original file line number Diff line number Diff line change 14
14
# value is the tag to use for the built image (not pushed). This also consumes
15
15
# $CODER_IMAGE_BUILD_BASE_TAG for easily forcing a fresh build in CI.
16
16
#
17
+ # The default base image can be controlled via $CODER_BASE_IMAGE_TAG.
18
+ #
17
19
# The image will be built and tagged against the image tag returned by
18
20
# ./image_tag.sh unless a --target parameter is supplied.
19
21
#
@@ -27,7 +29,7 @@ set -euxo pipefail
27
29
# shellcheck source=scripts/lib.sh
28
30
source " $( dirname " ${BASH_SOURCE[0]} " ) /lib.sh"
29
31
30
- DEFAULT_BASE=" ghcr.io/coder/coder-base:latest"
32
+ DEFAULT_BASE=" ${CODER_BASE_IMAGE_TAG :- ghcr.io/ coder/ coder-base: latest} "
31
33
32
34
arch=" "
33
35
image_tag=" "
You can’t perform that action at this time.
0 commit comments