harbor-compose-wrapper
An npm wrapper around the harbor-compose cli.
installation
npm install --save-dev harbor-compose-wrapper
package.json
)
usage examples ("scripts":
or use with more automation...
"version": "1.0.0","scripts":
version: '2'services: app: build: . image: quay.io/turner/app:${VERSION} ports: - "80:5000" environment: PORT: 5000 HEALTHCHECK: /health
...allows you to change code and redeploy a unique image based on your package.json version (e.g., quay.io/turner/app:1.0.0-XwPp9xazJ0ku5CZnlmgAx2Dld8SHkAeT
), by running:
npm run harbor-deploy