Makefile: update Docker image when toolchain changes

Update Docker image whenever we update the toolchange to force rebuild.

Fixes tailscale/corp#26816
Signed-off-by: kari-ts <kari@tailscale.com>
kari/docker
kari-ts 9 months ago
parent 6a3342e66d
commit f9686bd06c

@ -9,8 +9,13 @@
# will force a rebuild of the docker image. If there is an existing image
# with this name, it will be used.
#
# The convention here is tailscale-android-build-amd64-<date>
DOCKER_IMAGE=tailscale-android-build-amd64-191124
# The convention here is tailscale-android-build-amd64-<go.toolchain.rev>
#
# Read the current Go toolchain revision.
GO_TOOLCHAIN_REV := $(shell cat go.toolchain.rev)
# Define the Docker image tag using the current revision.
DOCKER_IMAGE := tailscale-android-build-amd64-$(GO_TOOLCHAIN_REV)
export TS_USE_TOOLCHAIN=1
DEBUG_APK=tailscale-debug.apk

Loading…
Cancel
Save