plugin to push image archives to registry
commit
f68b70b634
|
@ -0,0 +1,5 @@
|
||||||
|
FROM alpine
|
||||||
|
ADD plugin.sh /bin/
|
||||||
|
RUN chmod +x /bin/plugin.sh
|
||||||
|
RUN apk -Uuv add podman ca-certificates
|
||||||
|
ENTRYPOINT /bin/plugin.sh
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
podman login -u ${PLUGIN_USERNAME} -p ${PLUGIN_PASSWORD} git.spacegirl.nl
|
||||||
|
podman image load --input ${PLUGIN_IMAGE_TAR}
|
||||||
|
podman image tag memejoin-rs git.spacegirl.nl/${PLUGIN_REPO}:${PLUGIN_TAG}
|
||||||
|
podman image push git.spacegirl.nl/${PLUGIN_REPO}:${PLUGIN_TAG}
|
Loading…
Reference in New Issue