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"
|
||||
|
||||
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:
|
||||
desc: Drop into a build shell
|
||||
env:
|
|
@ -5,7 +5,8 @@ vars:
|
|||
sh: "git rev-parse --show-toplevel"
|
||||
|
||||
includes:
|
||||
docker: .taskfiles/docker.yaml
|
||||
ci-os: .taskfiles/ci-os.yaml
|
||||
misc: .taskfiles/misc.yaml
|
||||
|
||||
tasks:
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue