Add artifact uploading
This commit is contained in:
parent
a2e7005f5d
commit
cd4b1efb37
12
.drone.yml
12
.drone.yml
@ -15,7 +15,7 @@ steps:
|
|||||||
- cp /etc/ssl/certs/ca-certificates.crt .
|
- cp /etc/ssl/certs/ca-certificates.crt .
|
||||||
- CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o rbxcompiler ./cmd/rbxcompiler
|
- CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o rbxcompiler ./cmd/rbxcompiler
|
||||||
|
|
||||||
- name: push-production
|
- name: push-docker
|
||||||
image: plugins/docker:19
|
image: plugins/docker:19
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
@ -28,4 +28,12 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
- name: push-artifact
|
||||||
|
image: curlimages/curl:7.78.0
|
||||||
|
commands:
|
||||||
|
- curl -u ${NEXUS_USER}:${NEXUS_PASSWORD} --upload-file rbxcompiler https://nexus.itzana.me/repository/public/artifacts/itzaname/rbxcompiler-amd64-linux
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user