1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Removed Docker bits from CI build

This commit is contained in:
Jeremy Stretch
2017-09-28 17:36:05 -04:00
parent afbe0bc307
commit 667eadb430
2 changed files with 0 additions and 31 deletions

View File

@@ -1,21 +0,0 @@
#!/bin/bash
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
if [ $? -ne 0 ]; then
echo "docker login failed."
exit 1
fi
docker build -t "$DOCKER_REPOSITORY/$DOCKER_IMAGE_NAME:$DOCKER_TAG" .
if [ $? -ne 0 ]; then
echo "docker build failed."
exit 1
fi
docker push "$DOCKER_REPOSITORY/$DOCKER_IMAGE_NAME:$DOCKER_TAG"
if [ $? -ne 0 ]; then
echo "docker push failed."
exit 1
fi
exit 0