Skip to content

Commit

Permalink
Tweak the build_docker_image.sh script by removing references to MET_…
Browse files Browse the repository at this point in the history
…BASE_IMAGE and MET_BASE_TAG since those variables are hard-coded in the Dockerfiles themselves and this script includes no logic to handle them.
  • Loading branch information
JohnHalleyGotway committed Sep 14, 2022
1 parent 8874a27 commit 5efc65e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/jobs/build_docker_image.sh
Expand Up @@ -9,9 +9,7 @@ DOCKERFILE_PATH=${GITHUB_WORKSPACE}/internal/scripts/docker/Dockerfile.copy
CMD_LOGFILE=${GITHUB_WORKSPACE}/docker_build.log

time_command docker build -t ${DOCKERHUB_TAG} \
--build-arg SOURCE_BRANCH \
--build-arg MET_BASE_REPO \
--build-arg MET_BASE_TAG \
--build-arg SOURCE_BRANCH=${SOURCE_BRANCH} \
-f $DOCKERFILE_PATH ${GITHUB_WORKSPACE}
if [ $? != 0 ]; then
cat ${GITHUB_WORKSPACE}/docker_build.log
Expand Down

0 comments on commit 5efc65e

Please sign in to comment.