File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 20
20
set -eu
21
21
22
22
eval $( ./build_dist.sh shellvars)
23
+ DEFAULT_TAGS=" v${VERSION_SHORT} ,v${VERSION_MINOR} "
24
+ DEFAULT_REPOS=" tailscale/tailscale,ghcr.io/tailscale/tailscale"
25
+ DEFAULT_BASE=" ghcr.io/tailscale/alpine-base:3.14"
26
+
27
+ PUSH=" ${PUSH:- false} "
28
+ REPOS=" ${REPOS:- ${DEFAULT_REPOS} } "
29
+ TAGS=" ${TAGS:- ${DEFAULT_TAGS} } "
30
+ BASE=" ${BASE:- ${DEFAULT_BASE} } "
23
31
24
32
go run github.com/tailscale/mkctr@latest \
25
- --base=" ghcr.io/tailscale/alpine-base:3.14" \
26
33
--gopaths=" \
27
34
tailscale.com/cmd/tailscale:/usr/local/bin/tailscale, \
28
35
tailscale.com/cmd/tailscaled:/usr/local/bin/tailscaled" \
29
36
--ldflags=" \
30
37
-X tailscale.com/version.Long=${VERSION_LONG} \
31
38
-X tailscale.com/version.Short=${VERSION_SHORT} \
32
39
-X tailscale.com/version.GitCommit=${VERSION_GIT_HASH} " \
33
- --tags=" v${VERSION_SHORT} ,v${VERSION_MINOR} " \
34
- --repos=" tailscale/tailscale,ghcr.io/tailscale/tailscale" \
35
- --push
40
+ --base=" ${BASE} " \
41
+ --tags=" ${TAGS} " \
42
+ --repos=" ${REPOS} " \
43
+ --push=" ${PUSH} "
You can’t perform that action at this time.
0 commit comments