Skip to content

Commit

Permalink
trying ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
Bombg committed Oct 12, 2024
1 parent 98a8884 commit 1f33044
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/publish-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ on:

jobs:
include:
- if: ${{ github.ref_name == 'master' }}
env:
- IMAGEVER="latest"
- if: ${{ github.ref_name == 'flexiefae' }}
env:
- IMAGEVER="experimental"
env:
- IMAGEVER=${{ github.ref_name == 'master' && 'latest' || 'experimental' }}
build-and-push:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 1f33044

Please sign in to comment.