Skip to content

Commit

Permalink
Move build to different job in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
syynek committed Dec 18, 2023
1 parent ce1ce64 commit 7bb325d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ on:

jobs:
build:
uses: ./.github/workflows/build-docker.yml
with:
dockertag: ${{ inputs.version }}

release:
runs-on: ubuntu-latest
permissions:
contents: write
needs: build
steps:
- uses: actions/checkout@v3

- uses: ./.github/workflows/build-docker.yml
with:
dockertag: ${{ inputs.version }}

- uses: ncipollo/release-action@v1
with:
tag: ${{ inputs.version }}
Expand Down

0 comments on commit 7bb325d

Please sign in to comment.