switch to docker instead of podman

Patrick Cleavelin 2023-02-15 18:06:02 -06:00
parent f68b70b634
commit c6f422d4ca
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
FROM alpine FROM alpine
ADD plugin.sh /bin/ ADD plugin.sh /bin/
RUN chmod +x /bin/plugin.sh RUN chmod +x /bin/plugin.sh
RUN apk -Uuv add podman ca-certificates RUN apk -Uuv add docker
ENTRYPOINT /bin/plugin.sh ENTRYPOINT /bin/plugin.sh

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
set -e set -e
podman login -u ${PLUGIN_USERNAME} -p ${PLUGIN_PASSWORD} git.spacegirl.nl docker login -u ${PLUGIN_USERNAME} -p ${PLUGIN_PASSWORD} git.spacegirl.nl
podman image load --input ${PLUGIN_IMAGE_TAR} docker image load --input ${PLUGIN_IMAGE_TAR}
podman image tag memejoin-rs git.spacegirl.nl/${PLUGIN_REPO}:${PLUGIN_TAG} docker image tag memejoin-rs git.spacegirl.nl/${PLUGIN_REPO}:${PLUGIN_TAG}
podman image push git.spacegirl.nl/${PLUGIN_REPO}:${PLUGIN_TAG} docker image push git.spacegirl.nl/${PLUGIN_REPO}:${PLUGIN_TAG}