Add test artifact

This commit is contained in:
itzaname 2021-08-10 21:37:05 -04:00
parent 07e4567228
commit f11ebdd2c9

View File

@ -15,7 +15,12 @@ steps:
- cp /etc/ssl/certs/ca-certificates.crt .
- CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o rbxcompiler ./cmd/rbxcompiler
- name: push-docker
- name: artifacts
image: curlimages/curl:7.78.0
commands:
- cp /etc/ssl/certs/ca-certificates.crt .
- name: docker
image: plugins/docker:19
settings:
username:
@ -29,11 +34,3 @@ steps:
when:
branch:
- 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