Skip to content

Commit

Permalink
Merge pull request #187 from TheSoftwareHouse/fix-docker-imgae-tags
Browse files Browse the repository at this point in the history
Fix docker image tags
  • Loading branch information
mkopa authored Oct 11, 2022
2 parents 31ba2b7 + 2747dfd commit 332df96
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ci-scripts/docker-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ check_dockerhub_credentials() {
dockerhub_push() {
echo ${DOCKERHUB_PASSWORD} | docker login --username "$DOCKERHUB_USERNAME" --password-stdin
IMAGE="$DOCKERHUB_REPOSITORY/$SERVICE_NAME"
docker build -t ${IMAGE}:${VERSION} -f $DOCKERFILE_PATH .
docker tag ${IMAGE}:${VERSION} ${IMAGE}:${VERSION}
docker push ${IMAGE}:${VERSION}
docker build -t ${IMAGE}:${VERSION} -t ${IMAGE}:latest -f $DOCKERFILE_PATH .
docker push -a ${IMAGE}
}

check_arguments
Expand Down

0 comments on commit 332df96

Please sign in to comment.