Skip to content

Commit

Permalink
env in another spot
Browse files Browse the repository at this point in the history
  • Loading branch information
Bombg committed Oct 12, 2024
1 parent 1f33044 commit 3c40802
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ on:
branches:
- master
- flexiefae
env:
- IMAGEVER: ${{ github.ref_name == 'master' && 'latest' || 'experimental' }}

jobs:
include:
env:
- IMAGEVER=${{ github.ref_name == 'master' && 'latest' || 'experimental' }}
build-and-push:
runs-on: ubuntu-latest
steps:
Expand All @@ -28,5 +27,5 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/bombg/sassbot:${IMAGEVER}
tags: ghcr.io/bombg/sassbot:$IMAGEVER
platforms: linux/arm64, linux/amd64

0 comments on commit 3c40802

Please sign in to comment.