mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
github docker registry requires image name below repository name
name unknown: docker image push is only supported with a tag of the format :owner/:repo_name/:image_name. Please add an image name to "commercialhaskell/stackage" tag. e.g. "commercialhaskell/stackage/<image_name>"
This commit is contained in:
parent
14f4d3b79f
commit
113a8313db
2
.github/workflows/image.yml
vendored
2
.github/workflows/image.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}:${GITHUB_REF#refs/heads/}
|
||||
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/build:${GITHUB_REF#refs/heads/}
|
||||
docker build . -f Dockerfile --tag $IMAGE_ID
|
||||
docker push $IMAGE_ID
|
||||
echo Pushed new build image $IMAGE_ID
|
||||
|
||||
Loading…
Reference in New Issue
Block a user