consolidate build
This commit is contained in:
parent
b51f4e6a62
commit
8844275357
|
@ -5,12 +5,12 @@ tag=${tag:-latest}
|
|||
|
||||
echo "Tagging images with SHA: $GITHUB_SHA and tag: $tag"
|
||||
|
||||
docker tag app-service:$tag budibase/apps:$tag
|
||||
docker tag worker-service:$tag budibase/worker:$tag
|
||||
docker tag app-service budibase/apps:$tag
|
||||
docker tag worker-service budibase/worker:$tag
|
||||
|
||||
# Tag with git sha
|
||||
docker tag app-service:$tag budibase/apps:$GITHUB_SHA
|
||||
docker tag worker-service:$tag budibase/worker:$GITHUB_SHA
|
||||
docker tag app-service budibase/apps:$GITHUB_SHA
|
||||
docker tag worker-service budibase/worker:$GITHUB_SHA
|
||||
|
||||
docker push budibase/apps
|
||||
docker push budibase/worker
|
||||
|
|
|
@ -41,6 +41,6 @@
|
|||
"test:e2e": "lerna run cy:test",
|
||||
"test:e2e:ci": "lerna run cy:ci",
|
||||
"build:docker": "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh && cd -",
|
||||
"build:docker:develop": "lerna run build:docker:develop && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh develop && cd -"
|
||||
"build:docker:develop": "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh develop && cd -"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
"test:integration": "jest --coverage --detectOpenHandles",
|
||||
"test:watch": "jest --watch",
|
||||
"build:docker": "docker build . -t app-service",
|
||||
"build:docker:develop": "docker build . -t app-service:develop",
|
||||
"run:docker": "node src/index",
|
||||
"dev:stack:up": "node scripts/dev/manage.js up",
|
||||
"dev:stack:down": "node scripts/dev/manage.js down",
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
"scripts": {
|
||||
"run:docker": "node src/index.js",
|
||||
"build:docker": "docker build . -t worker-service",
|
||||
"build:docker:develop": "docker build . -t worker-service:develop",
|
||||
"dev:stack:init": "node ./scripts/dev/manage.js init",
|
||||
"dev:builder": "npm run dev:stack:init && nodemon src/index.js",
|
||||
"test": "jest --runInBand"
|
||||
|
|
Loading…
Reference in New Issue