Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
fix(dockerhub): automatic build
Browse files Browse the repository at this point in the history
due to docker/hub-feedback#1457 , multiple tags cannot be pushed with $IMAGE_NAME
  • Loading branch information
cawolf committed May 25, 2019
1 parent 9603623 commit b6bee3e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hooks/build
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/usr/bin/env sh
docker build --build-arg CURRENT_VERSION=$SOURCE_BRANCH -f $DOCKERFILE_PATH -t $IMAGE_NAME .
#!/bin/bash
set -e

docker build --build-arg CURRENT_VERSION=$SOURCE_BRANCH -f $DOCKERFILE_PATH -t $DOCKER_REPO:${DOCKER_TAG//,/ -t $DOCKER_REPO:} .

0 comments on commit b6bee3e

Please sign in to comment.