Skip to content

Commit

Permalink
Per #1, after guidance from George, modified variable values
Browse files Browse the repository at this point in the history
  • Loading branch information
jprestop committed Aug 29, 2022
1 parent 00997c6 commit 718d8f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/jobs/build_docker_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@ if [ $? != 0 ]; then
exit 1
fi

MET_BASE_UNIT_TEST_IMAGE=${GITHUB_TAG}

DOCKERHUB_TAG_UNIT_TEST=${DOCKERHUB_UNIT_TEST_REPO}:${GITHUB_TAG}

DOCKERFILE_PATH=${GITHUB_WORKSPACE}/Dockerfile.unit_test_env

CMD_LOGFILE=${GITHUB_WORKSPACE}/docker_build_unit_test_env.log

time_command docker build -t ${DOCKERHUB_TAG_UNIT_TEST} \
--build-arg MET_BASE_UNIT_TEST_IMAGE=${MET_BASE_UNIT_TEST_IMAGE} \
--build-arg MET_BASE_IMAGE=${MET_BASE_IMAGE} \
-f $DOCKERFILE_PATH ${GITHUB_WORKSPACE}
if [ $? != 0 ]; then
cat ${GITHUB_WORKSPACE}/docker_build_unit_test_env.log
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile.unit_test_env
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
ARG MET_BASE_UNIT_TEST_IMAGE
ARG MET_BASE_IMAGE

#FROM dtcenter/met-base-unit-test:${MET_BASE_UNIT_TEST_IMAGE}
FROM dtcenter/met-base-unit-test
FROM dtcenter/met-base:${MET_BASE_IMAGE}

MAINTAINER John Halley Gotway <johnhg@ucar.edu>

Expand Down

0 comments on commit 718d8f5

Please sign in to comment.