Skip to content

Commit c93a4ac

Browse files
committed
chore: pass VERSION as env var to docker build
1 parent 5a89567 commit c93a4ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ coverage:
1717
release-docker:
1818
@echo "\nBuilding docker image..."
1919
docker pull node:lts-alpine
20-
docker build -t shmopen/code-push-server:latest --no-cache .
20+
VERSION=${VERSION} docker build -t shmopen/code-push-server:latest --no-cache .
2121
docker tag shmopen/code-push-server:latest shmopen/code-push-server:${VERSION}
2222
docker push shmopen/code-push-server:${VERSION}
2323
docker push shmopen/code-push-server:latest

0 commit comments

Comments
 (0)