diff --git a/Dockerfile b/Dockerfile index bcd94e3..69928f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM alpine ADD plugin.sh /bin/ RUN chmod +x /bin/plugin.sh -RUN apk -Uuv add podman ca-certificates +RUN apk -Uuv add docker ENTRYPOINT /bin/plugin.sh diff --git a/plugin.sh b/plugin.sh index 4823f44..c7c1393 100644 --- a/plugin.sh +++ b/plugin.sh @@ -1,7 +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} +docker login -u $PLUGIN_USERNAME -p $PLUGIN_PASSWORD git.spacegirl.nl +docker image load --input $PLUGIN_IMAGE_TAR +docker image tag memejoin-rs git.spacegirl.nl/$PLUGIN_REPO:$PLUGIN_TAG +docker image push git.spacegirl.nl/$PLUGIN_REPO:$PLUGIN_TAG