forked from Wyn-Enterprise/sampleSQLCustomSecurityProvider
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (17 loc) · 656 Bytes
/
Copy pathMakefile
File metadata and controls
22 lines (17 loc) · 656 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# note: this setup is for deploying to local microk8s w/ registry enabled. Substitute your own registry and name as required.
REPO=localhost:32000/wyn-b2c-csp
IMG=$(REPO):`cat version.txt`
version:
sh mkversion.sh
# only for local testing w/ microk8s or other local k8s
dotnet-build:
if [ -d bin/Debug/netstandard2.0/publish ]; then rm -rf bin/Debug/netstandard2.0/publish; fi
dotnet clean OAuthAPISecurityProvider.csproj
dotnet publish --sc true OAuthAPISecurityProvider.csproj
build: version
env DOCKER_BUILDKIT=1 docker build . -t ${IMG}
push: build
docker push ${IMG}
echo 'Repo and tag:' ${IMG}
lastversion:
echo 'Repo and tag:' ${IMG}