Skip to content

Commit e79d2bb

Browse files
committed
add dockerfile
1 parent 2b65b9b commit e79d2bb

File tree

6 files changed

+34
-63
lines changed

6 files changed

+34
-63
lines changed

.github/workflows/ci-docker.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build docker image and push to Docker Hub
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build-n-push:
10+
name: Build docker image and push to Docker Hub
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out the repo
14+
uses: actions/checkout@v3
15+
16+
- name: Log in to Docker Hub
17+
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
18+
with:
19+
username: ${{ secrets.DOCKER_USERNAME }}
20+
password: ${{ secrets.DOCKER_PASSWORD }}
21+
22+
- name: Set up QEMU
23+
uses: docker/setup-qemu-action@v2
24+
25+
- name: Set up Docker Buildx
26+
id: buildx
27+
uses: docker/setup-buildx-action@v2
28+
29+
- name: Build and push
30+
run: |
31+
docker buildx build --platform linux/arm64,linux/amd64 -t dptechnology/dflow:latest --push .

.github/workflows/mirror_gitee.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/publish_conda.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM python:3.8
2+
3+
RUN pip install dpdispatcher

0 commit comments

Comments
 (0)