You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
365 B

kind: pipeline
type: docker
name: default
platform:
arch: amd64
os: linux
steps:
- name: build
image: golang:1.16.4-buster
commands:
- export SRC=$DRONE_WORKSPACE
- chmod 755 $SRC/build.sh
- $SRC/build.sh
- touch version.txt
- ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}>version.txt