Added some snippet info on tagging and pushing to Harbor
Signed-off-by: James P. Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
parent
493bb26732
commit
e871288b5d
@ -53,7 +53,7 @@ EOM
|
||||
|
||||
envsubst < templates/ending.in >> Dockerfile
|
||||
|
||||
docker build . -t $CONTAINER:agama-${AGAMA_VERSION}
|
||||
docker build . -t ${CONTAINER}:agama-${AGAMA_VERSION}
|
||||
|
||||
cat << EOM
|
||||
|
||||
@ -63,4 +63,11 @@ to Dockerfile and tag it as agama-${AGAMA_VERSION}:
|
||||
git commit -s -a -m "Build of agama-${AGAMA_VERSION}"
|
||||
git tag -f agama-${AGAMA_VERSION}
|
||||
|
||||
To push to Harbor:
|
||||
|
||||
docker tag ${CONTAINER}:agama-${AGAMA_VERSION} amr-registry.caas.intel.com/vtt-osgc/solutions/${CONTAINER}:agama-${AGAMA_VERSION}
|
||||
docker tag ${CONTAINER}:agama-${AGAMA_VERSION} amr-registry.caas.intel.com/vtt-osgc/solutions/${CONTAINER}:latest
|
||||
docker push amr-registry.caas.intel.com/vtt-osgc/solutions/${CONTAINER}:agama-${AGAMA_VERSION}
|
||||
docker push amr-registry.caas.intel.com/vtt-osgc/solutions/${CONTAINER}:latest
|
||||
|
||||
EOM
|
||||
|
Loading…
x
Reference in New Issue
Block a user