Docker image to automate node builds on bitbucket (and local)
-
update dockerfile
-
build local version:
docker build -t inforitnl/node-build .
-
push new version to dockerhub:
docker push inforitnl/node-build
-
tag and push again (optional but recommended):
docker tag inforitnl/node-build inforitnl/node-build:1 docker push inforitnl/node-build:1
image: inforitnl/node-build
pipelines:
default:
- step:
script:
- /node-build.sh
Command | Description |
---|---|
build | build the container with latest tag |
push | pushes the container |