-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per #1546, added logic to update truth data volume on DockerHub for -…
…ref branches
- Loading branch information
1 parent
8f783d2
commit 088bcb1
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM centos:7 | ||
MAINTAINER George McCabe <mccabe@ucar.edu> | ||
|
||
ENV OUTPUT_DIR /data/output | ||
RUN mkdir -p ${OUTPUT_DIR} | ||
|
||
ARG TRUTH_DIR | ||
|
||
COPY ${TRUTH_DIR} ${OUTPUT_DIR}/ | ||
|
||
ARG TRUTH_DIR | ||
|
||
# Define the volume mount point | ||
VOLUME ${OUTPUT_DIR}/${TRUTH_DIR} | ||
|
||
USER root | ||
CMD ["true"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#! /bin/bash | ||
|
||
source ${GITHUB_WORKSPACE}/.github/jobs/bash_functions.sh | ||
|
||
image_name=dtcenter/met-data-output:${TRUTH_DATA_VERSION} | ||
|
||
time_command docker build -t ${image_name} \ | ||
--build-arg TRUTH_DIR=met_test_truth \ | ||
-f ${GITHUB_WORKSPACE}/.github/jobs/Dockerfile.truth \ | ||
${RUNNER_WORKSPACE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters