Compare commits
No commits in common. "master" and "neoloc/firstbuild" have entirely different histories.
master
...
neoloc/fir
10
.drone.yml
10
.drone.yml
@ -21,19 +21,15 @@ steps:
|
||||
- name: upload
|
||||
image: git.query.consul/unkin/almalinux8:latest
|
||||
environment:
|
||||
GITEA_PASSWORD:
|
||||
from_secret: gitea_password
|
||||
GITEA_TOKEN:
|
||||
from_secret: gitea_package_token
|
||||
commands:
|
||||
- >
|
||||
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} --upload-file $rpm https://git.query.consul/api/v1/packages/unkin/rpm/almalinux/el8/upload
|
||||
done
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
|
||||
secrets:
|
||||
- source: gitea_package_token
|
||||
target: GITEA_TOKEN
|
||||
|
||||
Loading…
Reference in New Issue
Block a user