Skip to content

Commit 740ff9a

Browse files
committed
echem-rebase now build and push to docker
1 parent f9d6048 commit 740ff9a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/CI.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,3 +405,30 @@ jobs:
405405
with:
406406
push: true
407407
tags: reactionmechanismgenerator/rmg:latest
408+
409+
build-and-push-docker-echem:
410+
needs: build-and-test-linux
411+
runs-on: ubuntu-latest
412+
if: github.ref == 'refs/heads/echem-rebase' && github.repository == 'ReactionMechanismGenerator/RMG-Py'
413+
steps:
414+
- name: Set up QEMU
415+
uses: docker/setup-qemu-action@v2
416+
417+
- name: Set up Docker Buildx
418+
uses: docker/setup-buildx-action@v2
419+
420+
- name: Login to Docker Hub
421+
uses: docker/login-action@v2
422+
with:
423+
username: ${{ secrets.DOCKERHUB_USERNAME }}
424+
password: ${{ secrets.DOCKERHUB_TOKEN }}
425+
426+
- name: Build and Push
427+
uses: docker/build-push-action@v6
428+
with:
429+
push: true
430+
tags: reactionmechanismgenerator/rmg:electrocat
431+
build-args: |
432+
RMG_Py_Branch=echem-rebase
433+
RMG_Database_Branch=lithium_rebase
434+
RMS_Branch=marcus_development

0 commit comments

Comments
 (0)