diff --git a/.drone.yml b/.drone.yml index c7526b0..e269890 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,18 +3,15 @@ type: docker name: default steps: -- name: env - image: docker +- name: Build + image: golang environment: NASA_TOKEN: from_secret: nasa_api - commands: - - env -- name: Build - image: golang commands: - go get github.com/reujab/wallpaper - go vet -v + - env - GOOS="linux" go build -ldflags="-w -s -x main.api_key=${NASA_TOKEN}" -o SpaceFace-Linux - GOOS="windows" go build -ldflags="-w -s -x main.api_key=${NASA_TOKEN}" -o SpaceFace-Win.exe - GOOS="darwin" go build -ldflags="-w -s -x main.api_key=${NASA_TOKEN}" -o SpaceFace-macOS