Spaces:
Build error
Build error
jordancaraballo
commited on
Commit
·
358b0c3
1
Parent(s):
e311c42
Fxing github actions waittime
Browse files
.github/workflows/dockerhub-baselibs.yml
CHANGED
@@ -41,3 +41,41 @@ jobs:
|
|
41 |
file: ./requirements/Dockerfile.Baselibs
|
42 |
push: true
|
43 |
tags: nasanccs/wrf-baselibs:latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|