on master help sign in
GH image: fix branch tag
commit14f4d3b79fd2c67396f14cbffdce6a8352bb6416 authorJens Petersen <juhpetersen@gmail.com> dateThu 17 Jun 2021, 22:59 (5 years ago) parentceaa682
1 file changed+1−1
.github/workflows/image.yml+1−1
.github/workflows/image.yml+1−1
@@ -19,7 +19,7 @@ jobs:
1919
2020 - name: Build image
2121 run: |
22− IMAGE_ID=docker.pkg.github.com/${{ github.repository }}:${{ github.branch }}
22+ IMAGE_ID=docker.pkg.github.com/${{ github.repository }}:${GITHUB_REF#refs/heads/}
2323 docker build . -f Dockerfile --tag $IMAGE_ID
2424 docker push $IMAGE_ID
2525 echo Pushed new build image $IMAGE_ID