mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
11 lines
241 B
Makefile
11 lines
241 B
Makefile
.PHONY: docker-build docker-push
|
|
|
|
branch=$(shell git rev-parse --abbrev-ref HEAD)
|
|
build_tag=codercom/oss-dogfood:${branch}
|
|
|
|
docker-build:
|
|
DOCKER_BUILDKIT=1 docker build . -t ${build_tag}
|
|
|
|
docker-push: docker-build
|
|
docker push ${build_tag}
|