Skip to content

Commit

Permalink
fix: only push RTI image to dockerhub if repo owner is lf-lang
Browse files Browse the repository at this point in the history
  • Loading branch information
Depetrol committed Aug 22, 2024
1 parent 12cde59 commit 4e8bb3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rti-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
latest: false
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
if: ${{ endsWith(env.lf_version, '-snapshot') }}
if: ${{ endsWith(env.lf_version, '-snapshot') && github.repository_owner == 'lf-lang' }}

- name: Update latest (released versions only)
uses: ./.github/actions/push-rti-docker
Expand All @@ -39,4 +39,4 @@ jobs:
latest: true
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
if: ${{ !endsWith(env.lf_version, '-snapshot') }}
if: ${{ !endsWith(env.lf_version, '-snapshot') && github.repository_owner == 'lf-lang' }}

0 comments on commit 4e8bb3a

Please sign in to comment.