Skip to content

Commit

Permalink
Merge pull request #3 from whatnick/feat/gha-dockerhub
Browse files Browse the repository at this point in the history
#26 Try to set env differently
  • Loading branch information
whatnick authored Apr 16, 2020
2 parents 108e1c5 + 9307588 commit bf64c85
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 bf64c85

Please sign in to comment.