Spaces:
Build error
Build error
jordancaraballo
commited on
Commit
·
ccdc79a
1
Parent(s):
358b0c3
Adding wrf single deployment
Browse files
.github/workflows/dockerhub-baselibs.yml
DELETED
@@ -1,81 +0,0 @@
|
|
1 |
-
name: CI to Docker Hub Baselibs
|
2 |
-
|
3 |
-
on:
|
4 |
-
push:
|
5 |
-
schedule:
|
6 |
-
- cron: '30 5 * * 1,3'
|
7 |
-
|
8 |
-
jobs:
|
9 |
-
docker_baselibs:
|
10 |
-
runs-on: ubuntu-latest
|
11 |
-
steps:
|
12 |
-
-
|
13 |
-
name: Checkout
|
14 |
-
uses: actions/checkout@v3
|
15 |
-
-
|
16 |
-
name: Set up QEMU
|
17 |
-
uses: docker/setup-qemu-action@v2
|
18 |
-
-
|
19 |
-
name: Set up Docker Buildx
|
20 |
-
uses: docker/setup-buildx-action@v2
|
21 |
-
-
|
22 |
-
name: Login to Docker Hub
|
23 |
-
uses: docker/login-action@v2
|
24 |
-
with:
|
25 |
-
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
26 |
-
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
27 |
-
|
28 |
-
-
|
29 |
-
name: Lower github-runner storage
|
30 |
-
run: |
|
31 |
-
sudo rm -rf /usr/share/dotnet
|
32 |
-
sudo rm -rf /opt/ghc
|
33 |
-
sudo rm -rf "/usr/local/share/boost"
|
34 |
-
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
35 |
-
|
36 |
-
-
|
37 |
-
name: Build and push
|
38 |
-
uses: docker/build-push-action@v4
|
39 |
-
with:
|
40 |
-
context: .
|
41 |
-
file: ./requirements/Dockerfile.Baselibs
|
42 |
-
push: true
|
43 |
-
tags: nasanccs/wrf-baselibs:latest
|
44 |
-
|
45 |
-
docker_wrf:
|
46 |
-
runs-on: ubuntu-latest
|
47 |
-
needs: docker_baselibs
|
48 |
-
steps:
|
49 |
-
|
50 |
-
-
|
51 |
-
name: Checkout
|
52 |
-
uses: actions/checkout@v3
|
53 |
-
-
|
54 |
-
name: Set up QEMU
|
55 |
-
uses: docker/setup-qemu-action@v2
|
56 |
-
-
|
57 |
-
name: Set up Docker Buildx
|
58 |
-
uses: docker/setup-buildx-action@v2
|
59 |
-
-
|
60 |
-
name: Login to Docker Hub
|
61 |
-
uses: docker/login-action@v2
|
62 |
-
with:
|
63 |
-
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
64 |
-
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
65 |
-
|
66 |
-
-
|
67 |
-
name: Lower github-runner storage
|
68 |
-
run: |
|
69 |
-
sudo rm -rf /usr/share/dotnet
|
70 |
-
sudo rm -rf /opt/ghc
|
71 |
-
sudo rm -rf "/usr/local/share/boost"
|
72 |
-
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
73 |
-
|
74 |
-
-
|
75 |
-
name: Build and push
|
76 |
-
uses: docker/build-push-action@v4
|
77 |
-
with:
|
78 |
-
context: .
|
79 |
-
file: ./requirements/Dockerfile.WRF
|
80 |
-
push: true
|
81 |
-
tags: nasanccs/wrf:latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.github/workflows/dockerhub-wrf.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
name: CI to Docker Hub
|
2 |
|
3 |
on:
|
4 |
push:
|
@@ -6,17 +6,46 @@ on:
|
|
6 |
- cron: '30 5 * * 1,3'
|
7 |
|
8 |
jobs:
|
9 |
-
|
10 |
runs-on: ubuntu-latest
|
11 |
steps:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
-
|
14 |
-
name:
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
with:
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
-
|
22 |
name: Checkout
|
|
|
1 |
+
name: CI to Docker Hub Baselibs
|
2 |
|
3 |
on:
|
4 |
push:
|
|
|
6 |
- cron: '30 5 * * 1,3'
|
7 |
|
8 |
jobs:
|
9 |
+
docker_baselibs:
|
10 |
runs-on: ubuntu-latest
|
11 |
steps:
|
12 |
+
-
|
13 |
+
name: Checkout
|
14 |
+
uses: actions/checkout@v3
|
15 |
+
-
|
16 |
+
name: Set up QEMU
|
17 |
+
uses: docker/setup-qemu-action@v2
|
18 |
+
-
|
19 |
+
name: Set up Docker Buildx
|
20 |
+
uses: docker/setup-buildx-action@v2
|
21 |
+
-
|
22 |
+
name: Login to Docker Hub
|
23 |
+
uses: docker/login-action@v2
|
24 |
+
with:
|
25 |
+
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
26 |
+
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
27 |
|
28 |
-
|
29 |
+
name: Lower github-runner storage
|
30 |
+
run: |
|
31 |
+
sudo rm -rf /usr/share/dotnet
|
32 |
+
sudo rm -rf /opt/ghc
|
33 |
+
sudo rm -rf "/usr/local/share/boost"
|
34 |
+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
35 |
+
|
36 |
+
-
|
37 |
+
name: Build and push
|
38 |
+
uses: docker/build-push-action@v4
|
39 |
with:
|
40 |
+
context: .
|
41 |
+
file: ./requirements/Dockerfile.Baselibs
|
42 |
+
push: true
|
43 |
+
tags: nasanccs/wrf-baselibs:latest
|
44 |
+
|
45 |
+
docker_wrf:
|
46 |
+
runs-on: ubuntu-latest
|
47 |
+
needs: docker_baselibs
|
48 |
+
steps:
|
49 |
|
50 |
-
|
51 |
name: Checkout
|