-
-
Notifications
You must be signed in to change notification settings - Fork 0
110 lines (93 loc) · 4.21 KB
/
build.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
name: Build and Push Docker Containers
on:
push:
branches: [main]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
# - name: Build & Push (py39-anaconda-2022-10-jb-0.12.1)
# uses: docker/[email protected]
# with:
# context: py39-anaconda-2022-10-jb-0.12.1
# push: true
# tags: mmcky/quantecon-lecture-python:py39-anaconda-2022-10-jb-0.12.1
# - name: Build & Push (py39-anaconda-2022-10-jb-0.15.1)
# uses: docker/[email protected]
# with:
# context: py39-anaconda-2022-10-jb-0.15.1
# push: true
# tags: mmcky/quantecon-lecture-python:py39-anaconda-2022-10-jb-0.15.1
# - name: Build & Push (cuda-12.1.0-anaconda-2023-03-py310)
# uses: docker/[email protected]
# with:
# context: cuda-12.1.0-anaconda-2023-03-py310
# push: true
# tags: mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-03-py310
# # Upgrade quantecon-book-theme==0.5.0
# - name: Build & Push (cuda-12.1.0-anaconda-2023-03-py310-b)
# uses: docker/[email protected]
# with:
# context: cuda-12.1.0-anaconda-2023-03-py310-b
# push: true
# tags: mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-03-py310-b
# Upgrade quantecon-book-theme==0.5.1
# - name: Build & Push (cuda-12.1.0-anaconda-2023-03-py310-c)
# uses: docker/[email protected]
# with:
# context: cuda-12.1.0-anaconda-2023-03-py310-c
# push: true
# tags: mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-03-py310-c
- name: Create more disk space
run: sudo rm -rf /usr/share/dotnet && sudo rm -rf /opt/ghc && sudo rm -rf "/usr/local/share/boost" && sudo rm -rf "$AGENT_TOOLSDIRECTORY"
# # Upgrade quantecon-book-theme==0.5.3
# - name: Build & Push (cuda-12.1.0-anaconda-2023-03-py310-d)
# uses: docker/[email protected]
# with:
# context: cuda-12.1.0-anaconda-2023-03-py310-d
# push: true
# tags: mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-03-py310-d
# - name: Build & Push (cuda-12.1.0-anaconda-2023-07-py310)
# uses: docker/[email protected]
# with:
# context: cuda-12.1.0-anaconda-2023-07-py310
# push: true
# tags: mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-07-py310
# - name: Build & Push (cuda-12.1.0-anaconda-2023-07-py310-b)
# uses: docker/[email protected]
# with:
# context: cuda-12.1.0-anaconda-2023-07-py310-b
# push: true
# tags: mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-07-py310-b
# - name: Build & Push (cuda-12.1.0-anaconda-2023-09-py311)
# uses: docker/[email protected]
# with:
# context: cuda-12.1.0-anaconda-2023-09-py311
# push: true
# tags: mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311
# - name: Build & Push (cuda-12.1.0-anaconda-2023-09-py311-b)
# uses: docker/[email protected]
# with:
# context: cuda-12.1.0-anaconda-2023-09-py311-b
# push: true
# tags: mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311-b
# - name: Build & Push (cuda-12.1.0-anaconda-2023-09-py311-c)
# uses: docker/[email protected]
# with:
# context: cuda-12.1.0-anaconda-2023-09-py311-c
# push: true
# tags: mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311-c
- name: Build & Push (cuda-12.3.1-anaconda-2023-09-py311)
uses: docker/[email protected]
with:
context: cuda-12.3.1-anaconda-2023-09-py311
push: true
tags: mmcky/quantecon-lecture-python:cuda-12.3.1-anaconda-2023-09-py311