Update cd build/publish to use $DOCKER_REGISTRY
This commit is contained in:
parent
4f1b943013
commit
7873f802c7
10
package.json
10
package.json
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@extollo/extollo",
|
||||
"name": "@crystalmath/api",
|
||||
"version": "0.1.0",
|
||||
"description": "The framework lifts up your code.",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"directories": {
|
||||
@ -22,8 +22,8 @@
|
||||
"build": "excc -c package.json -t tsconfig.json",
|
||||
"app": "pnpm run build && node lib/index.js",
|
||||
"cli": "pnpm run build && node lib/cli.js",
|
||||
"cd:build": "docker image build . -t glmdev/mathy-api",
|
||||
"cd:publish": "docker push glmdev/mathy-api"
|
||||
"cd:build": "docker image build . -t ${DOCKER_REGISTRY}/glmdev/mathy-api",
|
||||
"cd:publish": "docker push ${DOCKER_REGISTRY}/glmdev/mathy-api"
|
||||
},
|
||||
"files": [
|
||||
"lib/**/*"
|
||||
@ -32,7 +32,7 @@
|
||||
"postversion": "git push && git push --tags",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://code.garrettmills.dev/extollo/extollo"
|
||||
"url": "https://code.garrettmills.dev/crystalmath/api"
|
||||
},
|
||||
"author": "garrettmills <shout@garrettmills.dev>",
|
||||
"license": "MIT",
|
||||
|
Loading…
Reference in New Issue
Block a user