Skip to content

Commit

Permalink
update release scripts to run tests before publishing an image
Browse files Browse the repository at this point in the history
  • Loading branch information
eljohnson92 committed Apr 4, 2024
1 parent e3566e4 commit 4c420e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ on:
tags:
- "*"
workflow_dispatch:
workflow_run:
workflows: [go-build-test]
types: [completed]

jobs:
release:
build-push:
runs-on: ubuntu-latest
needs: go-build-test
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_test_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
paths-ignore:
- '**/**.md'
- 'docs/**'
workflow_dispatch:

permissions:
contents: read
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
jobs:
release:
runs-on: ubuntu-latest
needs: go-build-test
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 4c420e0

Please sign in to comment.