diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml new file mode 100644 index 00000000..0ee6e2d3 --- /dev/null +++ b/.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