mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
GH image: fix branch tag
This commit is contained in:
parent
ceaa6825ab
commit
14f4d3b79f
2
.github/workflows/image.yml
vendored
2
.github/workflows/image.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}:${{ github.branch }}
|
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}:${GITHUB_REF#refs/heads/}
|
||||||
docker build . -f Dockerfile --tag $IMAGE_ID
|
docker build . -f Dockerfile --tag $IMAGE_ID
|
||||||
docker push $IMAGE_ID
|
docker push $IMAGE_ID
|
||||||
echo Pushed new build image $IMAGE_ID
|
echo Pushed new build image $IMAGE_ID
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user