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.

21 lines
436 B

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