]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix push if master docker-master-j 14094/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 4 Jul 2022 20:34:48 +0000 (16:34 -0400)
committerTimo Heister <timo.heister@gmail.com>
Mon, 4 Jul 2022 20:34:48 +0000 (16:34 -0400)
.github/workflows/docker.yml

index 05310fc9cbed1543e1ff70e2d446479c7288850d..749b6f3b04931435d5c9c4f6f47a2503760efbae 100644 (file)
@@ -32,7 +32,7 @@ jobs:
           context: ./contrib/docker/
           cache-from: type=registry,ref=dealii/dependencies:focal
           cache-to: type=inline
-          push: false
+          push: ${{github.ref_name == 'master'}}
           tags: dealii/dealii:master-focal
 
       - name: Build and push Docker image of master with root user
@@ -42,6 +42,6 @@ jobs:
           file: ./contrib/docker/Dockerfile.root
           cache-from: type=registry,ref=dealii/dealii:master-focal
           cache-to: type=inline
-          push: false
+          push: ${{github.ref_name == 'master'}}
           tags: dealii/dealii:master-focal-root
 

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.