@gve/releases
v0.8.4
Published
Build Docker images and deploy containers to Google Cloud or OpenShift
Downloads
11
Readme
Releases
Build Docker images and deploy containers to Google Cloud or OpenShift.
Installation
Install with npm.
npm i @gve/releases
Usage
const { OpenShiftRelease } = require("@gve/releases");
// Create the release.
const projectName = "OpenShift project name or Google Cloud project ID";
const release = new OpenShiftRelease(projectName);
// Build its Docker image.
release.build();
// Intermediate step: Use the Docker CLI to upload the image to its image repository.
// Build a deployment and release it to OpenShift.
release.buildDeployment();
release.release();
- Creates a scoped, named, and tagged Docker image
- Creates its deployment files for release
- Pushes the deployment files to the run platform, e.g, OpenShift