-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
21 lines (16 loc) · 817 Bytes
/
justfile
File metadata and controls
21 lines (16 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export VERSION := `cat version`
all: dep patch
clean:
rm -rf ./dynamic-localpv-provisioner
dep: clean
git clone -b {{ VERSION }} --depth=1 https://github.com/openebs/dynamic-localpv-provisioner.git
[working-directory('dynamic-localpv-provisioner')]
patch:
curl "https://github.com/openebs/dynamic-localpv-provisioner/compare/{{ VERSION }}...morlay:patch-{{ VERSION }}.patch" | git apply -v
ship:
docker buildx build --push \
--label=org.opencontainers.image.source=https://github.com/innoai-tech/dynamic-localpv-provisioner \
--tag=ghcr.io/innoai-tech/dynamic-localpv-provisioner:{{ VERSION }} \
--platform=linux/amd64,linux/arm64 \
--file=./dynamic-localpv-provisioner/buildscripts/provisioner-localpv/provisioner-localpv.Dockerfile \
./dynamic-localpv-provisioner