From ca2e8896a979540121794568a54f3da7a7297a36 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Thu, 25 Feb 2021 16:45:18 +0000 Subject: [PATCH] bitbucket-pipelines.yml edited online with Bitbucket --- bitbucket-pipelines.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 788989f..8ae3d36 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -45,10 +45,8 @@ pipelines: script: - echo ${DOCKERHUB_PASSWORD} | docker login --username "$DOCKERHUB_USERNAME" --password-stdin - IMAGE_NAME=$BITBUCKET_REPO_SLUG - - docker load --input "${IMAGE_NAME}.tar" - - VERSION="prod-0.1.${BITBUCKET_BUILD_NUMBER}" - IMAGE=${DOCKERHUB_NAMESPACE}/${IMAGE_NAME} - - docker tag "${IMAGE_NAME}" "${IMAGE}:${VERSION}" + - docker tag "${IMAGE_NAME}" "${IMAGE}:latest" - docker push "${IMAGE}:${VERSION}" services: - docker