Skip to content

Commit

Permalink
#26 Try to set env differently
Browse files Browse the repository at this point in the history
Signed-off-by: whatnick <[email protected]>
  • Loading branch information
whatnick committed Apr 16, 2020
1 parent 2dd42ba commit 9307588
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
- name: Get tag for this build if it exists
if: contains(github.ref, 'odc-index-')
run: |
echo ::set-output name=RELEASE::${GITHUB_REF/refs\/tags\/odc-index-/}
echo ::set-env name=RELEASE::${GITHUB_REF/refs\/tags\/odc-index-/}
echo $RELEASE
- name: Get git commit has for merged PR's
- name: Get git commit hash for merged PR's
if: github.event.pull_request.merged
run: |
echo ::set-output name=GITHASH::$(git rev-parse --short "$GITHUB_SHA")
echo ::set-env name=GITHASH::$(git rev-parse --short "$GITHUB_SHA")
echo $GITHASH
- name: Build and Push latest Docker Image for Release
Expand Down

0 comments on commit 9307588

Please sign in to comment.