Skip to content

Commit

Permalink
Merge pull request #18 from lsst-it/IT-4385/gem-push-fail
Browse files Browse the repository at this point in the history
push to rubygems after build & push of OCI images
  • Loading branch information
jhoblitt authored Mar 16, 2023
2 parents fbdad8c + aeca000 commit c72305b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ jobs:
- name: Build gem
run: gem build *.gemspec

- name: Publish gem to rubygems.org
if: startsWith(github.ref, 'refs/tags/v')
run: gem push *.gem
env:
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
Expand Down Expand Up @@ -82,3 +76,9 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Publish gem to rubygems.org
if: startsWith(github.ref, 'refs/tags/v')
run: gem push *.gem
env:
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'

0 comments on commit c72305b

Please sign in to comment.