Skip to content

Commit 94a2619

Browse files
committed
fixup! fix workflow file
1 parent be1985a commit 94a2619

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ jobs:
222222
$(cat build/coder_"$version"_linux_{amd64,arm64,armv7}.tag)
223223
fi
224224
env:
225-
CODER_IMAGE_BUILD_BASE_TAG: ${{ steps.image-base-tag.outputs.tag }}
225+
CODER_BASE_IMAGE_TAG: ${{ steps.image-base-tag.outputs.tag }}
226226

227227
- name: ls build
228228
run: ls -lh build

scripts/build_docker.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# value is the tag to use for the built image (not pushed). This also consumes
1515
# $CODER_IMAGE_BUILD_BASE_TAG for easily forcing a fresh build in CI.
1616
#
17+
# The default base image can be controlled via $CODER_BASE_IMAGE_TAG.
18+
#
1719
# The image will be built and tagged against the image tag returned by
1820
# ./image_tag.sh unless a --target parameter is supplied.
1921
#
@@ -27,7 +29,7 @@ set -euxo pipefail
2729
# shellcheck source=scripts/lib.sh
2830
source "$(dirname "${BASH_SOURCE[0]}")/lib.sh"
2931

30-
DEFAULT_BASE="ghcr.io/coder/coder-base:latest"
32+
DEFAULT_BASE="${CODER_BASE_IMAGE_TAG:-ghcr.io/coder/coder-base:latest}"
3133

3234
arch=""
3335
image_tag=""

0 commit comments

Comments
 (0)