From f409dda6286d5433c065667c4dafeb8506021477 Mon Sep 17 00:00:00 2001 From: Imri Paloja Date: Sat, 15 Oct 2022 21:54:22 +0200 Subject: [PATCH] golang testing --- .drone.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index a3c2495..698bd75 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,14 @@ kind: pipeline -name: Test -type: docker steps: - - name: say-hello - image: busybox - commands: - - echo Test +- name: test + image: golang + commands: + - go test + - go build + +- name: publish + image: plugins/docker + settings: + repo: octocat/hello-world + tags: [ latest, 1.0, 1 ]