2020-12-24 13:51:49 +00:00
|
|
|
REGISTRY=ghcr.io/mentos1386
|
2020-12-25 17:32:27 +00:00
|
|
|
PROGRESS=plain
|
|
|
|
|
2020-12-24 13:51:49 +00:00
|
|
|
build:
|
2020-12-26 14:00:26 +00:00
|
|
|
@docker buildx build --load -t ${REGISTRY}/workspace:edge -f Dockerfile .
|
2020-12-23 17:55:00 +00:00
|
|
|
|
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-23 18:45:44 +00:00
|
|
|
|
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-23 18:45:44 +00:00
|
|
|
|
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
|
|
|
|
2021-03-08 08:32:13 +00:00
|
|
|
build-packages: build-package-kubectl build-package-starship build-package-mosh
|
2020-12-23 17:55:00 +00:00
|
|
|
|
2020-12-23 21:08:25 +00:00
|
|
|
template:
|
|
|
|
@go run ./main.go template package-action > .github/workflows/packages.yaml
|
2021-03-08 08:32:13 +00:00
|
|
|
@go run ./main.go template workspace-node-action > .github/workflows/workspace-node.yaml
|
2020-12-24 10:52:56 +00:00
|
|
|
|
2021-03-08 08:32:13 +00:00
|
|
|
pull-node:
|
|
|
|
@docker pull ghcr.io/mentos1386/workspace-node:edge
|
2020-12-26 22:00:13 +00:00
|
|
|
|
2021-03-08 08:32:13 +00:00
|
|
|
run-node:
|
|
|
|
@docker run -it --rm --workdir /home/tine --user tine ${REGISTRY}/workspace-node:edge zsh
|