Compare commits

...

2 commits

Author SHA1 Message Date
Mark Nellemann c1d6b16126 Change linux build image.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2023-08-16 10:22:06 +02:00
Mark Nellemann ed57148d34 Merge remote-tracking branch 'origin/main' 2023-08-16 09:53:02 +02:00

View file

@ -10,18 +10,13 @@ type: docker
steps:
# - name: test
# image: docker.io/bellsoft/liberica-openjdk-debian:17
# commands:
# - ./gradlew --quiet --no-daemon test
- name: jpackage
image: docker.io/debian:stable
image: docker.io/bellsoft/liberica-openjdk-debian:17
environment:
AUTH_TOKEN: # Gitea access token ENV variable
from_secret: AUTH_TOKEN # Name of DroneCI secret exposed above
commands:
- apt-get update && apt-get install -y dpkg-dev rpm unzip zip curl openjdk-17-jdk
- apt-get update && apt-get install -y dpkg-dev rpm unzip zip curl
- ./gradlew --no-daemon clean build jpackage
- for file in build/jpackage/*.* ; do curl -s --user "$${AUTH_TOKEN}" --upload-file "$${file}" "https://git.data.coop/api/packages/${DRONE_REPO_OWNER}/generic/${DRONE_REPO_NAME}/${DRONE_TAG}/$(basename $file)" ; done
when: