Skip to content

Commit

Permalink
ci: also build release docker image - try 2
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed May 19, 2024
1 parent 2ff71cf commit 2c607de
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test, build and deploy for Test

on:
push:
tags:
- "v*"

jobs:

test:
uses: ./.github/workflows/test.yaml

build:
uses: ./.github/workflows/build.yaml
secrets: inherit
needs: test
with:
version: "${{ github.ref_name }}"
registry: ghcr.io
image: relay-md/relay.md
9 changes: 0 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,3 @@ jobs:
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

build:
uses: ./.github/workflows/build.yaml
secrets: inherit
needs: test
with:
version: "${{ github.ref_name }}"
registry: ghcr.io
image: relay-md/relay.md

0 comments on commit 2c607de

Please sign in to comment.