Skip to content

Commit

Permalink
Let release workflow build new image
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Jan 3, 2024
1 parent 94e73cf commit f6301ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: Build docker image

on:
workflow_dispatch:
push:
tags:
- v**
workflow_call:

jobs:
build-docker-image:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@ on:
- v**

jobs:
build-docker-image:
name: Build release Docker image
uses: ./.github/workflows/docker.yml
secrets: inherit

publish-release:
name: Publish release
runs-on: ubuntu-latest
needs: [build-docker-image]

steps:
- name: Create release
uses: softprops/action-gh-release@v1
with:
# create a draft release which needs manual approval
draft: true
files: ${{ steps.list-artifacts.outputs.ARTIFACTS }}

0 comments on commit f6301ae

Please sign in to comment.