Compare commits

..

No commits in common. "master" and "neoloc/cacert" have entirely different histories.

View File

@ -21,19 +21,15 @@ steps:
- name: upload - name: upload
image: git.query.consul/unkin/almalinux8:latest image: git.query.consul/unkin/almalinux8:latest
environment: environment:
GITEA_PASSWORD: GITEA_TOKEN:
from_secret: gitea_password from_secret: gitea_package_token
commands: commands:
- > - >
for rpm in /drone/src/rpmbuild/RPMS/*/*.rpm; do for rpm in /drone/src/rpmbuild/RPMS/*/*.rpm; do
curl --user droneci:$GITEA_PASSWORD --cacert /etc/ssl/certs/ca-certificates.crt --upload-file $rpm https://git.query.consul/api/packages/unkin/rpm/almalimnux/8/upload curl --user droneci:${GITEA_TOKEN} --cacert /etc/ssl/certs/ca-certificates.crt --upload-file $rpm https://git.query.consul/api/v1/packages/unkin/rpm/almalinux/el8/upload
done done
when: when:
branch: branch:
- master - master
event: event:
- push - push
secrets:
- source: gitea_package_token
target: GITEA_TOKEN