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:
|
|
|
|
@docker buildx build --load -t ${REGISTRY}/workspace-ubuntu:edge -f Dockerfile.ubuntu .
|
2020-12-23 17:55:00 +00:00
|
|
|
|
2020-12-24 10:52:56 +00:00
|
|
|
build-package-starship:
|
2020-12-24 13:51:49 +00:00
|
|
|
@docker buildx build --load -t ${REGISTRY}/starship:0.47.0 -f packages/Dockerfile.starship packages/
|
2020-12-23 18:45:44 +00:00
|
|
|
|
2020-12-24 10:52:56 +00:00
|
|
|
build-package-kubectl:
|
2020-12-24 13:51:49 +00:00
|
|
|
@docker buildx build --load -t ${REGISTRY}/kubectl:1.20.0 -f packages/Dockerfile.kubectl packages/
|
2020-12-23 18:45:44 +00:00
|
|
|
|
2020-12-25 15:04:39 +00:00
|
|
|
build-package-glow:
|
2020-12-25 15:58:23 +00:00
|
|
|
@docker buildx build --load -t ${REGISTRY}/glow:1.3.0 -f packages/Dockerfile.glow packages/
|
|
|
|
|
|
|
|
build-package-mosh:
|
2020-12-25 17:32:27 +00:00
|
|
|
@docker buildx build --progress ${PROGRESS} --load -t ${REGISTRY}/mosh:master -f packages/Dockerfile.mosh packages/
|
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 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
|
|
|
|
@go run ./main.go template ubuntu-action > .github/workflows/ubuntu.yaml
|
|
|
|
|
2020-12-24 10:52:56 +00:00
|
|
|
pull:
|
2020-12-24 11:36:43 +00:00
|
|
|
@docker pull ghcr.io/mentos1386/workspace-ubuntu:edge
|
2020-12-24 10:52:56 +00:00
|
|
|
@docker pull ghcr.io/mentos1386/starship:0.47.0
|
|
|
|
@docker pull ghcr.io/mentos1386/kubectl:1.20.0
|
|
|
|
|
2020-12-24 13:51:49 +00:00
|
|
|
run:
|
2020-12-24 11:36:43 +00:00
|
|
|
@docker run -it --rm --workdir /home/tine --user tine ghcr.io/mentos1386/workspace-ubuntu:edge zsh
|
2020-12-24 10:52:56 +00:00
|
|
|
|