Skip to content

Commit

Permalink
Delay release create until image publish
Browse files Browse the repository at this point in the history
  • Loading branch information
halostatue committed Feb 20, 2024
1 parent 0467be3 commit 69269a4
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,6 @@ on:
required: true

jobs:
make-release:
runs-on: ubuntu-latest
name: Create Release
steps:
- uses: actions/checkout@v4
if: github.event_name == 'push'
- uses: actions/checkout@v4
if: github.event_name == 'workflow_dispatch'
with:
ref: refs/tags/${{ github.event.inputs.tag }}
- uses: ghalactic/github-release-from-tag@v5
with:
summaryEnabled: false
publish-image:
name: Build and Push to Docker Hub
runs-on: ubuntu-latest
Expand Down Expand Up @@ -88,6 +75,10 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- uses: ghalactic/github-release-from-tag@v5
with:
summaryEnabled: false

- uses: peter-evans/[email protected]
with:
repository: kineticcafe/sqitch-pgtap
Expand Down

0 comments on commit 69269a4

Please sign in to comment.