Skip to content

Fix: rmax set in e3 model (#197) #205

Fix: rmax set in e3 model (#197)

Fix: rmax set in e3 model (#197) #205

Workflow file for this run

name: Container
on:
push:
paths-ignore:
- 'docs/**'
branches:
- main
jobs:
build_container_and_push:
runs-on: ubuntu-latest
if: github.repository_owner == 'deepmodeling'
strategy:
matrix:
dockerfile: ["main"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Aliyun Registry
uses: docker/login-action@v3
with:
registry: registry.dp.tech
username: ${{ secrets.DP_HARBOR_USERNAME }}
password: ${{ secrets.DP_HARBOR_PASSWORD }}
- name: Build and Push Container
uses: docker/build-push-action@v6
with:
tags: |
ghcr.io/deepmodeling/deeptb-${{ matrix.dockerfile }}:latest
registry.dp.tech/deepmodeling/deeptb-${{ matrix.dockerfile }}:latest
file: Dockerfile.${{ matrix.dockerfile }}
cache-from: type=registry,ref=ghcr.io/deepmodeling/deeptb-${{ matrix.dockerfile }}:latest
cache-to: type=inline
push: true