Skip to content

Commit

Permalink
Update extension_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend authored Aug 18, 2023
1 parent 4ef04f2 commit d1ab63e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/extension_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ jobs:
cargo pgrx test ${pg_version}
publish:
# only publish on tagged release events
# if: github.ref == 'refs/heads/main'
if: startsWith(github.ref, 'refs/tags/')
# only publish release events
if: github.event_name == 'release'
name: trunk publish
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -162,4 +161,4 @@ jobs:
- name: Push image
run: |
docker push quay.io/tembo/pgmq-pg:v${{ steps.versions.outputs.TAG_VER }}
docker push quay.io/tembo/pgmq-pg:latest
docker push quay.io/tembo/pgmq-pg:latest

0 comments on commit d1ab63e

Please sign in to comment.