dotfiles/Makefile

32 lines
971 B
Makefile
Raw Normal View History

REGISTRY=ghcr.io/mentos1386
PROGRESS=plain
build:
@docker buildx build --load -t ${REGISTRY}/workspace:edge -f Dockerfile .
2020-12-24 10:52:56 +00:00
build-package-starship:
2020-12-26 14:06:07 +00:00
@docker buildx build --load -t ${REGISTRY}/starship:0.47.0 -f packages/Dockerfile.starship .
2020-12-24 10:52:56 +00:00
build-package-kubectl:
2020-12-26 14:06:07 +00:00
@docker buildx build --load -t ${REGISTRY}/kubectl:1.20.0 -f packages/Dockerfile.kubectl .
2020-12-25 15:04:39 +00:00
build-package-glow:
2020-12-26 14:06:07 +00:00
@docker buildx build --load -t ${REGISTRY}/glow:1.3.0 -f packages/Dockerfile.glow .
2020-12-25 15:58:23 +00:00
build-package-mosh:
2020-12-26 14:06:07 +00:00
@docker buildx build --progress ${PROGRESS} --load -t ${REGISTRY}/mosh:master -f packages/Dockerfile.mosh .
2020-12-25 15:04:39 +00:00
2020-12-24 10:52:56 +00:00
build-packages: package-kubectl package-starship
2020-12-23 21:08:25 +00:00
template:
@go run ./main.go template package-action > .github/workflows/packages.yaml
@go run ./main.go template workspace-action > .github/workflows/workspace.yaml
2020-12-23 21:08:25 +00:00
2020-12-24 10:52:56 +00:00
pull:
2020-12-26 16:01:48 +00:00
@docker pull ghcr.io/mentos1386/workspace:edge
2020-12-24 10:52:56 +00:00
run:
@docker run -it --rm --workdir /home/tine --user tine ghcr.io/mentos1386/workspace:edge zsh
2020-12-24 10:52:56 +00:00