-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
25 lines (17 loc) · 768 Bytes
/
justfile
File metadata and controls
25 lines (17 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Print list of available recipes
default:
@just --list
version_dirty := `[ -z "$(git status -s)" ] || echo "-$(date +"%H%M%S")"`
version := `git describe --tags --dirty --always` + version_dirty
flatcar_version := "4459.2.4"
# Print version that will be used in the build
version:
@echo "Using version {{version}} with flatcar version {{flatcar_version}}"
# Build control-usb-root
build: && version
./gen-control-usb-root.sh {{flatcar_version}}
# Publish control-usb-root
push: && version
oras push ghcr.io/githedgehog/fabricator/control-usb-root:{{version}} boot EFI images flatcar_production_*
local-push:
oras push --plain-http 127.0.0.1:30000/githedgehog/fabricator/control-usb-root:v{{flatcar_version}}-hh9 boot EFI images flatcar_production_*