We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56a90ac commit 9d2a7afCopy full SHA for 9d2a7af
ci/lib.sh
@@ -99,6 +99,8 @@ ARCH="$(arch)"
99
export ARCH
100
OS=$(os)
101
export OS
102
+COMMIT_SHA="$(git rev-parse HEAD)"
103
+export COMMIT_SHA
104
105
# RELEASE_PATH is the destination directory for the release from the root.
106
# Defaults to release
ci/release-image/build.sh
@@ -5,7 +5,7 @@ main() {
5
cd "$(dirname "$0")/../.."
6
source ./ci/lib.sh
7
8
- docker build -t "codercom/code-server-$ARCH:$VERSION" -f ./ci/release-image/Dockerfile .
+ docker build -t "codercom/code-server-$ARCH:$VERSION" -t "codercom/code-server:$COMMIT_SHA" -f ./ci/release-image/Dockerfile .
9
}
10
11
main "$@"
0 commit comments