This commit is contained in:
parent
3471ea3c0b
commit
4b8087bf8d
@ -30,7 +30,7 @@ steps:
|
||||
# target: live-cli/${DRONE_BUILD_CREATED}-${DRONE_COMMIT}
|
||||
|
||||
- name: Publish Artifacts
|
||||
image: ubuntu
|
||||
image: curlimages/curl
|
||||
volumes:
|
||||
- name: dist
|
||||
path: /dist
|
||||
@ -40,7 +40,7 @@ steps:
|
||||
GITEA_SVC_PASSWORD:
|
||||
from_secret: GITEA_SVC_PASSWORD
|
||||
commands:
|
||||
- set -ex; cd /dist; for f in *; do curl --user "drone-svc:${GITEA_SVC_PASSWORD}" -X PUT https://gitea.example.com/api/packages/public/generic/${DRONE_REPO_NAME}/$(date -Isecond)-${DRONE_COMMIT}/${f}; done
|
||||
- sh -c 'set -ex; cd /dist; for f in *; do curl --user "drone-svc:${GITEA_SVC_PASSWORD}" -X PUT https://gitea.example.com/api/packages/public/generic/${DRONE_REPO_NAME}/$(date -Isecond)-${DRONE_COMMIT}/${f}; done'
|
||||
|
||||
- name: Publish release
|
||||
image: plugins/gitea-release
|
||||
|
Loading…
Reference in New Issue
Block a user