mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
The nix image isn't used because it doesn't work, and we haven't been updating our "pre-nix" tag since the changes were made. Reverts back to being a regular Dockerfile.
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}
|