Skip to content

Commit

Permalink
ci: Only update Fluent image when run from main branch. (#3387)
Browse files Browse the repository at this point in the history
  • Loading branch information
prmukherj authored Oct 15, 2024
1 parent 21c7f3a commit ff8343b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-run-dev-version-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
- name: Update Fluent image
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_ACCESS_TOKEN }}
if: github.ref == 'refs/heads/main'
run: |
DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/ansys/pyfluent:v25.1.0 | sed 's/.*@//')
gh variable set FLUENT_STABLE_IMAGE_DEV --body $DIGEST
Expand Down

0 comments on commit ff8343b

Please sign in to comment.