Adding publish-docker workflow (#1654)

This commit is contained in:
Guillaume Briday 2020-06-02 21:22:40 +02:00 committed by GitHub
parent a118bed82f
commit 5ed4614a8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.github/workflows/publish-docker.yml vendored Normal file
View File

@ -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