Skip to content

Commit

Permalink
try putting IMAGE_TAG at top level
Browse files Browse the repository at this point in the history
  • Loading branch information
wpoely86 committed Aug 26, 2024
1 parent 60cbc41 commit 16bc30f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build-publish-ondemand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
paths:
- 'ondemand/**'

env:
IMAGE_TAG: $(date +"%Y%m%d")

jobs:
build_publish_ondemand:
name: Build/publish ondemand container
Expand All @@ -32,12 +35,6 @@ jobs:
run: |
echo PUBLISH_IMAGES=1 >> $GITHUB_ENV
- name: Set a tag based on the date
run: |
IMAGE_TAG=$(date +"%Y%m%d")
echo IMAGE_TAG=$IMAGE_TAG >> $GITHUB_ENV
echo "Image tag is $IMAGE_TAG"
- name: Determine latest release of ondemand
id: getlatestrelease
run: |
Expand Down

0 comments on commit 16bc30f

Please sign in to comment.