mirror of
https://github.com/coder/coder.git
synced 2026-09-23 22:20:22 +08:00
* add watchexec to dogfood image This comes in handy quite frequently. * Fix dogfood image
11 lines
220 B
Makefile
11 lines
220 B
Makefile
.PHONY: docker-build docker-push
|
|
|
|
branch=$(shell git rev-parse --abbrev-ref HEAD)
|
|
build_tag=codercom/oss-dogfood:${branch}
|
|
|
|
build:
|
|
DOCKER_BUILDKIT=1 docker build . -t ${build_tag}
|
|
|
|
push: build
|
|
docker push ${build_tag}
|