Update cd build/publish to use $DOCKER_REGISTRY

master
Garrett Mills 2 years ago
parent 4f1b943013
commit 7873f802c7

@ -1,7 +1,7 @@
{ {
"name": "@extollo/extollo", "name": "@crystalmath/api",
"version": "0.1.0", "version": "0.1.0",
"description": "The framework lifts up your code.", "description": "",
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",
"directories": { "directories": {
@ -22,8 +22,8 @@
"build": "excc -c package.json -t tsconfig.json", "build": "excc -c package.json -t tsconfig.json",
"app": "pnpm run build && node lib/index.js", "app": "pnpm run build && node lib/index.js",
"cli": "pnpm run build && node lib/cli.js", "cli": "pnpm run build && node lib/cli.js",
"cd:build": "docker image build . -t glmdev/mathy-api", "cd:build": "docker image build . -t ${DOCKER_REGISTRY}/glmdev/mathy-api",
"cd:publish": "docker push glmdev/mathy-api" "cd:publish": "docker push ${DOCKER_REGISTRY}/glmdev/mathy-api"
}, },
"files": [ "files": [
"lib/**/*" "lib/**/*"
@ -32,7 +32,7 @@
"postversion": "git push && git push --tags", "postversion": "git push && git push --tags",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://code.garrettmills.dev/extollo/extollo" "url": "https://code.garrettmills.dev/crystalmath/api"
}, },
"author": "garrettmills <shout@garrettmills.dev>", "author": "garrettmills <shout@garrettmills.dev>",
"license": "MIT", "license": "MIT",

Loading…
Cancel
Save