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