Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Merge pull request #31 from supabase/laktek-patch-1 #25

Merge pull request #31 from supabase/laktek-patch-1

Merge pull request #31 from supabase/laktek-patch-1 #25

Workflow file for this run

name: docker-publish
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-20.04
outputs:
published: ${{ steps.semantic.outputs.new_release_published }}
version: ${{ steps.semantic.outputs.new_release_version }}
steps:
- uses: actions/checkout@v3
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 18
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish:
needs:
- release
if: needs.release.outputs.published == 'true'
# Call publish explicitly because events from actions cannot trigger more actions
uses: ./.github/workflows/publish.yml
with:
version: v${{ needs.release.outputs.version }}
secrets: inherit