We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a68fe2 commit 8b66965Copy full SHA for 8b66965
2 files changed
.drone/drone.yml
@@ -23,7 +23,8 @@ steps:
23
- name: build
24
commands:
25
- mkdir -p $HOMEPATH/.docker; echo $IMAGE_PULL_SECRETS > $HOMEPATH/.docker/config.json
26
- - VERSION=${DRONE_TAG:-latest} make build
+ - sed -i "s#canary#${DRONE_TAG}#g" version/version.go
27
+ - VERSION=${DRONE_TAG} make build
28
environment:
29
DEV_REGISTRY:
30
from_secret: dev_registry
version/version.go
@@ -2,4 +2,4 @@ package version
2
3
// Version identifies the Drycc product revision.
4
// Note: This value is overwritten by the linker during build
5
-var Version = "v1.1.0"
+var Version = "canary"
0 commit comments