2020-06-02 21:22:40 +02:00
|
|
|
name: Publish Docker
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-12-06 16:33:02 +05:30
|
|
|
- release
|
2020-06-02 21:22:40 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
publish-docker:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-07-26 06:43:09 -04:00
|
|
|
- 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 }}
|
2022-07-26 06:43:09 -04:00
|
|
|
- name: Build and push
|
2023-05-02 12:49:11 +05:30
|
|
|
uses: docker/build-push-action@v3
|
2022-07-26 06:43:09 -04:00
|
|
|
with:
|
|
|
|
context: .
|
|
|
|
push: true
|
2023-05-02 12:49:11 +05:30
|
|
|
tags: excalidraw/excalidraw:latest
|