]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Second try. 11619/head
authorLuca Heltai <luca.heltai@sissa.it>
Mon, 25 Jan 2021 12:10:14 +0000 (13:10 +0100)
committerLuca Heltai <luca.heltai@sissa.it>
Mon, 25 Jan 2021 12:10:18 +0000 (13:10 +0100)
.github/workflows/docker.yml

index 1ef1706de7cbc7d8e28715e0e00f7a2baf543037..efb1ce8b4646d6b3b515905bbe4d7e8fa73ab417 100644 (file)
@@ -8,16 +8,25 @@ jobs:
   build-master-docker:
     runs-on: ubuntu-latest
     steps:
-      - name: Checkout
+      -
+        name: Checkout code
         uses: actions/checkout@v2
+      -
+        name: Set up Docker Buildx
+        uses: docker/setup-buildx-action@v1
+      -
+        name: Login to DockerHub
+        uses: docker/login-action@v1
+        with:
+        username: ${{ secrets.DOCKER_USERNAME }}
+        password: ${{ secrets.DOCKER_PASSWORD }}
 
       - name: Build and push Docker image of master 
         uses: docker/build-push-action@v2
         with:
-          username: ${{ secrets.DOCKER_USERNAME }}
-          password: ${{ secrets.DOCKER_PASSWORD }}
-          cache_froms: dealii/dependencies:focal
+          context: ./contrib/docker/
+          cache_froms: type=registry,ref=dealii/dependencies:focal
           repository: dealii/dealii
+          cache-to: type=inline
           add_git_labels: true
           tags: master-focal
-          path: ./contrib/docker

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.