Skip to content

Commit

Permalink
Fixed tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Dor committed Apr 22, 2019
1 parent 810ff34 commit bf9f5a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/build-buildpacks-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ docker build -f "$PACK_IMAGE_DOCKERFILE" $noCacheFlag \

if [ -n "$BUILD_NUMBER" ]; then
BUILD_SUFFIX="$BUILD_DEFINITIONNAME.$BUILD_NUMBER"

# Tag oryxdevms
docker tag "$DOCKER_PACK_BUILDER_IMAGE_REPO" "$DOCKER_PACK_BUILDER_IMAGE_REPO:$BUILD_SUFFIX"
echo "$DOCKER_PACK_BUILDER_IMAGE_REPO:$BUILD_SUFFIX" >> $BUILD_IMAGES_ARTIFACTS_FILE
Expand All @@ -74,8 +74,8 @@ if [ -n "$BUILD_NUMBER" ]; then

# Tag for ACR
docker tag "$DOCKER_PACK_BUILDER_IMAGE_REPO" "$ACR_PACK_BUILDER_IMAGE_REPO:$BUILD_SUFFIX"
echo "$DOCKER_PACK_BUILDER_IMAGE_REPO:$BUILD_SUFFIX" >> $ACR_BUILD_IMAGES_ARTIFACTS_FILE
echo "$ACR_PACK_BUILDER_IMAGE_REPO:$BUILD_SUFFIX" >> $ACR_BUILD_IMAGES_ARTIFACTS_FILE

docker tag "$DOCKER_PACK_IMAGE_REPO:latest" "$ACR_PACK_IMAGE_REPO:$BUILD_SUFFIX"
echo "$DOCKER_PACK_IMAGE_REPO:$BUILD_SUFFIX" >> $ACR_BUILD_IMAGES_ARTIFACTS_FILE
echo "$ACR_PACK_IMAGE_REPO:$BUILD_SUFFIX" >> $ACR_BUILD_IMAGES_ARTIFACTS_FILE
fi

0 comments on commit bf9f5a2

Please sign in to comment.