Fix missing docker image. (#909)

Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/909
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: opyale <opyale@noreply.codeberg.org>
Co-committed-by: opyale <opyale@noreply.codeberg.org>
This commit is contained in:
opyale 2021-05-24 14:42:08 +02:00 committed by M M Arif
parent 224ead33bf
commit 960eaa1cf9
1 changed files with 15 additions and 5 deletions

View File

@ -4,7 +4,9 @@ stages:
- publish
on_setup:
image: tutum/curl
image:
name: curlimages/curl:7.76.1
entrypoint: ["/bin/sh", "-c"]
stage: .pre
only:
- main
@ -47,7 +49,9 @@ sign:
expire_in: 15 minutes
latest:
image: tutum/curl
image:
name: curlimages/curl:7.76.1
entrypoint: ["/bin/sh", "-c"]
stage: publish
only:
- main
@ -60,7 +64,9 @@ latest:
- curl -T "$PLUGIN_FILE" -u "$WEBDAV_USERNAME":"$WEBDAV_PASSWORD" "$PLUGIN_DESTINATION"
release:
image: tutum/curl
image:
name: curlimages/curl:7.76.1
entrypoint: ["/bin/sh", "-c"]
stage: publish
only:
- tags
@ -72,7 +78,9 @@ release:
- curl -T "$PLUGIN_FILE" -u "$WEBDAV_USERNAME":"$WEBDAV_PASSWORD" 'https://cloud.swatian.com/remote.php/dav/files/GitNexBot/gitnex/releases/'"$CI_COMMIT_REF_NAME"'.apk'
on_success:
image: tutum/curl
image:
name: curlimages/curl:7.76.1
entrypoint: ["/bin/sh", "-c"]
stage: .post
only:
- main
@ -86,7 +94,9 @@ on_success:
when: on_success
on_failure:
image: tutum/curl
image:
name: curlimages/curl:7.76.1
entrypoint: ["/bin/sh", "-c"]
stage: .post
only:
- main