updated .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-10-16 13:21:56 +02:00
parent 0ea1221164
commit 13a7dc542f

View File

@ -9,7 +9,7 @@ platform:
steps: steps:
- name: build - name: build
image: golang image: golang:1.23
commands: commands:
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES - go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
environment: environment:
@ -25,7 +25,7 @@ steps:
- tag - tag
- name: release - name: release
image: golang image: golang:1.23
commands: commands:
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES - go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
- tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME - tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME
@ -64,7 +64,7 @@ platform:
steps: steps:
- name: build - name: build
image: golang image: golang:1.23
commands: commands:
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES - go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
environment: environment:
@ -80,7 +80,7 @@ steps:
- tag - tag
- name: release - name: release
image: golang image: golang:1.23
commands: commands:
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES - go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
- tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME - tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME