mirror of
https://github.com/supabase/supabase.git
synced 2026-10-19 16:19:10 +03:00
36 lines
749 B
YAML
36 lines
749 B
YAML
name: Publish to Docker Hub
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- studio
|
|
paths:
|
|
- 'studio/**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
publish:
|
|
name: Publish to Docker Hub
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: docker/setup-qemu-action@v1
|
|
with:
|
|
platforms: amd64,arm64
|
|
|
|
- uses: docker/setup-buildx-action@v1
|
|
|
|
- uses: docker/login-action@v1
|
|
with:
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
- uses: docker/build-push-action@v2
|
|
with:
|
|
context: studio
|
|
platforms: linux/amd64,linux/arm64
|
|
push: true
|
|
tags: supabase/studio:latest
|
|
target: production
|