2024-09-06 17:31:42 +08:00
|
|
|
// Publish changes to nmrl docker registry
|
|
|
|
// For every push change and bump the version up
|
|
|
|
|
|
|
|
// Server All in one
|
2024-12-19 23:25:20 +08:00
|
|
|
export $(grep -v '^#' .env | xargs) && sudo docker build -f Dockerfile.prod --target server-aio -t amusendame/felicity-lims:aio-0.1.5 .
|
|
|
|
docker push amusendame/felicity-lims:aio-0.1.5
|
2024-09-06 17:31:42 +08:00
|
|
|
|
|
|
|
// Server API
|
2024-12-19 23:25:20 +08:00
|
|
|
export $(grep -v '^#' .env | xargs) && sudo docker build -f Dockerfile.prod --target server-api -t amusendame/felicity-lims:api-0.1.5 .
|
|
|
|
docker push amusendame/felicity-lims:api-0.1.5
|
2024-09-06 17:31:42 +08:00
|
|
|
|
|
|
|
// View a summary of image vulnerabilities and recommendations
|
2024-09-14 21:32:18 +08:00
|
|
|
docker scout quickview
|
|
|
|
|
2024-09-14 21:47:25 +08:00
|
|
|
// Build nginx static
|
2024-12-19 23:25:20 +08:00
|
|
|
export $(grep -v '^#' .env | xargs) && sudo docker build -f Dockerfile.prod --target nginx-static -t amusendame/felicity-static-nginx:0.1.5 .
|
|
|
|
docker push amusendame/felicity-static-nginx:0.1.5
|
2024-09-14 21:47:25 +08:00
|
|
|
|
|
|
|
// Build caddy static
|
2024-12-19 23:25:20 +08:00
|
|
|
export $(grep -v '^#' .env | xargs) && sudo docker build -f Dockerfile.prod --target caddy-static -t amusendame/felicity-static-caddy:0.1.5 .
|
|
|
|
docker push amusendame/felicity-static-caddy:0.1.5
|
2024-11-21 18:36:04 +08:00
|
|
|
|
|
|
|
//
|
2024-11-23 01:04:47 +08:00
|
|
|
psql -U postgres -p 5432 -d felicity_lims -c "grant all on schema public to felicity"
|
|
|
|
|
|
|
|
// Git tags
|
2024-12-19 23:25:20 +08:00
|
|
|
git tag -a v0.1.5 -m "Prepare release 0.1.5"
|
|
|
|
git push origin v0.1.5
|