forked from chr-fritz/csi-sshfs
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (23 loc) · 689 Bytes
/
Makefile
File metadata and controls
34 lines (23 loc) · 689 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
26
27
28
29
30
31
32
33
34
# TODO make DRY
default:
echo Choose an option
deps-clean:
rm -f go.sum
cp -a original_go.mod go.mod
deps: deps-clean
./update-kubernetes-versions.sh 1.20.2
go get ./...
go mod tidy
build:
docker build . --pull --no-cache -t patricol/csi-sshfs:latest
build-with-cache:
docker build . --pull -t patricol/csi-sshfs:latest
push: build-with-cache
docker push patricol/csi-sshfs:latest
build-debug:
docker build . --pull --no-cache -t patricol/csi-sshfs:debug -f Dockerfile.debug
build-debug-with-cache:
docker build . --pull -t patricol/csi-sshfs:debug -f Dockerfile.debug
push-debug: build-debug-with-cache
docker push patricol/csi-sshfs:debug
push-all: push push-debug