Ver Fonte

Adding publish-docker workflow (#1654)

Guillaume Briday há 5 anos atrás
pai
commit
5ed4614a8c
1 ficheiros alterados com 20 adições e 0 exclusões
  1. 20 0
      .github/workflows/publish-docker.yml

+ 20 - 0
.github/workflows/publish-docker.yml

@@ -0,0 +1,20 @@
+name: Publish Docker
+
+on:
+  push:
+    branches:
+      - master
+
+jobs:
+  publish-docker:
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v2
+      - uses: docker/build-push-action@v1
+        with:
+          username: ${{ secrets.DOCKER_USERNAME }}
+          password: ${{ secrets.DOCKER_PASSWORD }}
+          repository: excalidraw/excalidraw
+          tag_with_ref: true
+          tag_with_sha: true