make things work w/ sudo
This commit is contained in:
8
justfile
8
justfile
@@ -26,11 +26,11 @@ clean:
|
||||
|
||||
# build a new image
|
||||
build:
|
||||
sudo podman build -t {{image}} -f Dockerfile ./ctx
|
||||
podman build -t {{image}} -f Dockerfile ./ctx
|
||||
|
||||
# publish the image
|
||||
publish:
|
||||
@ echo $GH_PAT | sudo docker login ghcr.io -u jswank --password-stdin >/dev/null 2>&1
|
||||
sudo docker push {{image}}
|
||||
@ sudo docker logout ghcr.io
|
||||
@ echo $GH_PAT | podman login ghcr.io -u jswank --password-stdin >/dev/null 2>&1
|
||||
podman push {{image}}
|
||||
@ podman logout ghcr.io
|
||||
|
||||
|
||||
Reference in New Issue
Block a user