From f11ebdd2c9f6a833e8611acfe5b0002873a11f1b Mon Sep 17 00:00:00 2001 From: itzaname Date: Tue, 10 Aug 2021 21:37:05 -0400 Subject: [PATCH] Add test artifact --- .drone.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 81b6d75..8c3fad5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: @@ -26,14 +31,6 @@ steps: repo: registry.itzana.me/public/rbxcompiler tags: - latest - 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 \ No newline at end of file