-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
22 lines (22 loc) · 1.11 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "dotnet-build",
"version": "11.0.1",
"description": "[![logo](./logo.jpg)](https://frontliners.nl)",
"main": "index.js",
"scripts": {
"build": "docker build -t frontliners/dotnet-build .",
"tag": "docker tag frontliners/dotnet-build",
"push": "docker push frontliners/dotnet-build",
"publish": "DOCKER_PROD_TAG=$(cat package.json | grep version | head -1 | awk -F: '{ print $2}' | sed 's/[\",]//g' | tr -d '[[:space:]]') && docker build -t frontliners/dotnet-build . && docker tag frontliners/dotnet-build frontliners/dotnet-build:latest && docker tag frontliners/dotnet-build frontliners/dotnet-build:$DOCKER_PROD_TAG && docker push frontliners/dotnet-build:latest && docker push frontliners/dotnet-build:$DOCKER_PROD_TAG"
},
"repository": {
"type": "git",
"url": "git+https://github.com/frontlinersnl/dotnet-build.git"
},
"author": "Rick van Lieshout <[email protected]> (http://rickvanlieshout.com)",
"license": "ISC",
"bugs": {
"url": "https://github.com/frontlinersnl/dotnet-build/issues"
},
"homepage": "https://github.com/frontlinersnl/dotnet-build#readme"
}