excalidraw/.github/workflows/publish-docker.yml
shalk(xiao kun) 15e5527770
Update publish-docker.yml
support arm64
2024-10-28 17:55:47 +08:00

26 lines
599 B
YAML

name: Publish Docker
on:
push:
branches:
- release
jobs:
publish-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
context: .
push: true
tags: excalidraw/excalidraw:latest