You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
761 B
30 lines
761 B
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: Set up QEMU |
|
uses: docker/setup-qemu-action@v3 |
|
- name: Set up Docker Buildx |
|
uses: docker/setup-buildx-action@v3 |
|
- name: Build and push |
|
uses: docker/build-push-action@v5 |
|
with: |
|
context: . |
|
push: true |
|
tags: excalidraw/excalidraw:latest |
|
platforms: linux/amd64, linux/arm64, linux/arm/v7
|
|
|