Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
Corallo authored Aug 24, 2022
1 parent 0e740b0 commit 3152750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/build
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# A script to allow building multiple targets from a single Dockerfile such
# that the repository does not need a separate Dockerfile for each build

export TAG=echo $IMAGE_NAME | sed 's/\(.*\)-a.*/\1/'
export TAG=$(echo $IMAGE_NAME | sed 's/.*\:\(.*\)-a.*/\1/')
docker build . -f ${DOCKERFILE_PATH} -t $IMAGE_NAME --build-arg TAG
docker build . -f ${DOCKERFILE_PATH}-containerized -t $IMAGE_NAME-containerized --build-arg TAG

0 comments on commit 3152750

Please sign in to comment.