excalidraw/.github/workflows/publish-docker.yml

26 lines
554 B
YAML
Raw Permalink Normal View History

2020-06-02 21:22:40 +02:00
name: Publish Docker
on:
push:
branches:
- release
2020-06-02 21:22:40 +02:00
jobs:
publish-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2
2020-06-02 21:22:40 +02:00
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: excalidraw/excalidraw:latest