-
Notifications
You must be signed in to change notification settings - Fork 38
41 lines (34 loc) · 977 Bytes
/
push_docker.yml
File metadata and controls
41 lines (34 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Push to Docker Hub
on:
push:
paths-ignore:
- '**.rst'
branches:
- master
jobs:
build-cpu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and push CPU image to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
repository: ucberkeleyseti/turbo_seti
tags: latest
# ==========================
# Work-around for issue #240
# ==========================
# build-gpu:
# runs-on: nvidia-gpu
# steps:
# - uses: actions/checkout@v2
# - name: Build and push GPU image to Docker Hub
# uses: docker/build-push-action@v1
# with:
# username: ${{ secrets.DOCKER_USER }}
# password: ${{ secrets.DOCKER_PASS }}
# repository: ucberkeleyseti/turbo_seti_gpu
# build_args: IMAGE=cupy/cupy:v8.6.0
# tags: latest