We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c196db commit b7f1595Copy full SHA for b7f1595
2 files changed
.github/workflows/CI.yml
@@ -83,4 +83,5 @@ jobs:
83
push: ${{ github.ref == 'refs/heads/main' && github.repository == 'ReactionMechanismGenerator/RMG-Py' }}
84
tags: reactionmechanismgenerator/rmg:latest
85
build-args: |
86
- RMS_Branch=for_rmg
+ RMG_Py_Branch=${{ github.head_ref || github.ref_name }}
87
+ RMG_Database_Branch=${{ env.RMG_DATABASE_BRANCH }}
Dockerfile
@@ -45,7 +45,9 @@ ENV PATH="/miniconda/bin:$PATH"
45
SHELL ["/bin/bash", "-c"]
46
47
# Add build arguments for RMG-Py, RMG-database, and RMS branches.
48
-ARG RMG_Py_Branch=docker
+# The defaults are set here, but they can be overridden at build time
49
+# using the --build-arg option, or in the continous integration CI.yml file.
50
+ARG RMG_Py_Branch=main
51
ARG RMG_Database_Branch=main
52
53
# cd
0 commit comments