File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 context : .
3535 file : docker/Dockerfile.matgl
3636 push : true
37- tags : materialsvirtuallab /matgl:latest
37+ tags : materialyzeai /matgl:latest
3838 - name : Image digest
3939 run : echo ${{ steps.docker_build.outputs.digest }}
Original file line number Diff line number Diff line change 1+ name : Docker - matgl - latest
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ paths :
7+ - docker/Dockerfile.matgl.dgl
8+ workflow_dispatch :
9+ inputs :
10+ task :
11+ type : choice
12+ options : [build]
13+ default : dockerhub
14+ description : Run build and push.
15+
16+ jobs :
17+ dockerhub :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ - name : Login to DockerHub
22+ uses : docker/login-action@v3
23+ with :
24+ username : ${{ secrets.DOCKER_HUB_USER }}
25+ password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
26+ - name : Set up QEMU
27+ uses : docker/setup-qemu-action@v3
28+ - name : Set up Docker Buildx
29+ uses : docker/setup-buildx-action@v3
30+ - name : Build and push
31+ uses : docker/build-push-action@v6
32+ with :
33+ platforms : linux/amd64,linux/arm64
34+ context : .
35+ file : docker/Dockerfile.matgl.dgl
36+ push : true
37+ tags : materialyzeai/matgl:latest-dgl
38+ - name : Image digest
39+ run : echo ${{ steps.docker_build.outputs.digest }}
Original file line number Diff line number Diff line change 1+ name : Docker - matml - latest
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ paths :
7+ - docker/Dockerfile.matml.dgl
8+ workflow_dispatch :
9+ inputs :
10+ task :
11+ type : choice
12+ options : [build]
13+ default : dockerhub
14+ description : Run build and push.
15+
16+ jobs :
17+ dockerhub :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ - name : Login to DockerHub
22+ uses : docker/login-action@v3
23+ with :
24+ username : ${{ secrets.DOCKER_HUB_USER }}
25+ password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
26+ - name : Set up QEMU
27+ uses : docker/setup-qemu-action@v3
28+ - name : Set up Docker Buildx
29+ uses : docker/setup-buildx-action@v3
30+ - name : Build and push
31+ uses : docker/build-push-action@v6
32+ with :
33+ platforms : linux/amd64,linux/arm64
34+ context : .
35+ file : docker/Dockerfile.matml.dgl
36+ push : true
37+ tags : materialyzeai/matml:latest-dgl
38+ - name : Image digest
39+ run : echo ${{ steps.docker_build.outputs.digest }}
Original file line number Diff line number Diff line change 11FROM ghcr.io/astral-sh/uv:python3.12-bookworm
22
3- RUN uv pip install --system matgl>=2.2.0
3+ RUN uv pip install --system matgl>=2.2.1
Original file line number Diff line number Diff line change 1+ # We start from a uv image to make life easier.
2+ FROM materialyzeai/lammps_gnnp:latest
3+
4+ ENV MATGL_BACKEND=DGL
5+
6+ RUN uv pip install --system matgl>=2.2.1 matcalc matpes
7+ RUN uv pip install --system dgl==2.1.0 torch==2.2.0 torchdata==0.7.1
You can’t perform that action at this time.
0 commit comments