Ensure release docker image uses correct tag
@@ -82,10 +82,10 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
- - run: docker build . -t hyperledgerlabs/solang:${{ github.ref }}
+ - run: docker build . -t hyperledgerlabs/solang:${GITHUB_REF/refs\/tags\//}
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DH_USER }}
password: ${{ secrets.DH_KEY }}
- - run: docker push hyperledgerlabs/solang:${{ github.ref }}
+ - run: docker push hyperledgerlabs/solang:${GITHUB_REF/refs\/tags\//}
