- connect postgresql db
- encrypt dump
- upload dump to ovh and scaleway
Code is jusmundi/pgclient
sudo service docker restart
make build
export DOCKER_ORGANISATION=${DOCKER_ORGANISATION:-"jusmundi"}
docker build --network=host -t "${DOCKER_ORGANISATION}/pgclient:0.1.2" --squash .
docker run -ti "${DOCKER_ORGANISATION}/pgclient:0.1.2" bash
docker tag ghcr.io/jusmundi/pgclient:${OCI_TAG:-"latest"} ghcr.io/jusmundi/pgclient:0.1.2
docker push "${DOCKER_ORGANISATION}/pgclient:0.1.2"
Image uploaded to jusmundi/pgclient
dive --ci --json docker-dive-stats.json "${DOCKER_ORGANISATION}/pgclient:0.1.2" 1>docker-dive.log 2>docker-dive-error.log
sudo npm install -g dockerfile_lint
dockerfile_lint --json --verbose --dockerfile Dockerfile
brew install hadolint
hadolint Dockerfile
npx mega-linter-runner --install
npx mega-linter-runner
npx v8r@latest .mega-linter.yml
npx @secretlint/quick-start "**/*"
npx cspell "**/*.{txt,js,md}"
sudo npm install -g markdown-toc
markdown-toc README.md -i
markdown-toc CHANGELOG.md -i
sudo npm install -g markdown-link-check
markdown-link-check ./README.md