Skip to content

Commit

Permalink
Merge pull request #167 from hyperledger/release-tags
Browse files Browse the repository at this point in the history
Fix use of GITHUB_REF in docker build
  • Loading branch information
nguyer authored Oct 12, 2021
2 parents e80c6b7 + 18ddccb commit 9fe825c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2

- name: Build
run: docker build -t ghcr.io/hyperledger/firefly-ethconnect:$GITHUB_REF .
run: docker build -t ghcr.io/hyperledger/firefly-ethconnect:${GITHUB_REF##*/} .

- name: Tag release
if: github.event.action == 'published'
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Push docker image
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
docker push ghcr.io/hyperledger/firefly-ethconnect:$GITHUB_REF
docker push ghcr.io/hyperledger/firefly-ethconnect:${GITHUB_REF##*/}
- name: Push latest tag
if: github.event.action == 'published'
Expand Down

0 comments on commit 9fe825c

Please sign in to comment.