chore: cleanup taskfiles
This commit is contained in:
parent
119359f198
commit
46a97eb5d1
3 changed files with 16 additions and 14 deletions
14
.taskfiles/ci-os.yaml
Normal file
14
.taskfiles/ci-os.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
build:
|
||||||
|
desc: Build local docker image (nixos-builder)
|
||||||
|
dir: "{{ .ROOT_DIR }}/apps/ci-os"
|
||||||
|
cmds:
|
||||||
|
- nix build .#packages.x86_64-linux.build-image && nerdctl load < result
|
||||||
|
|
||||||
|
publish:
|
||||||
|
desc: Builds and pushes the flakes action image
|
||||||
|
dir: "{{ .ROOT_DIR }}/apps/ci-os"
|
||||||
|
cmds:
|
||||||
|
- nerdctl push code.252.no/tommy/ci-os:latest
|
|
@ -1,19 +1,6 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
build-ci-os:
|
|
||||||
desc: Builds and pushes the flakes action image
|
|
||||||
dir: "{{ .ROOT_DIR }}/apps/lix-builder"
|
|
||||||
cmds:
|
|
||||||
- nix build .#packages.x86_64-linux.build-image && nerdctl load < result &&
|
|
||||||
nerdctl push code.252.no/tommy/ci-os:latest
|
|
||||||
|
|
||||||
create-image:
|
|
||||||
desc: Build local docker image (nixos-builder)
|
|
||||||
cmds:
|
|
||||||
- nerdctl build --platform linux/amd64 -t nixos-builder --no-cache
|
|
||||||
apps/lix-builder
|
|
||||||
|
|
||||||
shell:
|
shell:
|
||||||
desc: Drop into a build shell
|
desc: Drop into a build shell
|
||||||
env:
|
env:
|
|
@ -5,7 +5,8 @@ vars:
|
||||||
sh: "git rev-parse --show-toplevel"
|
sh: "git rev-parse --show-toplevel"
|
||||||
|
|
||||||
includes:
|
includes:
|
||||||
docker: .taskfiles/docker.yaml
|
ci-os: .taskfiles/ci-os.yaml
|
||||||
|
misc: .taskfiles/misc.yaml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue