]> git.openstreetmap.org Git - rails.git/commitdiff
Added minimal Docker workflow to test Github Actions
authorMichal Migurski <mike@teczno.com>
Sun, 20 Dec 2020 17:50:41 +0000 (09:50 -0800)
committerMichal Migurski <migurski@fb.com>
Thu, 28 Jan 2021 20:03:58 +0000 (12:03 -0800)
.github/workflows/docker.yml [new file with mode: 0644]

diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
new file mode 100644 (file)
index 0000000..23d9c6e
--- /dev/null
@@ -0,0 +1,19 @@
+name: Docker
+on:
+  - push
+  - pull_request
+jobs:
+  test:
+    name: Docker
+    runs-on: ubuntu-20.04
+    steps:
+    - name: Checkout source
+      uses: actions/checkout@v1
+    - name: Poke config
+      run: |
+        cp config/example.storage.yml config/storage.yml
+        cp config/docker.database.yml config/database.yml
+        touch config/settings.local.yml
+    - name: Docker Build
+      run: |
+        docker-compose build