diff --git a/.drone.yaml b/.drone.yaml index a860318..80df10c 100644 --- a/.drone.yaml +++ b/.drone.yaml @@ -4,45 +4,45 @@ type: docker name: default trigger: - event: - - tag + event: + - tag platform: - os: linux - arch: arm64 + os: linux + arch: arm64 volumes: - - name: cache - temp: {} + - name: cache + temp: {} environment: - DEBIAN_FRONTEND: noninteractive + DEBIAN_FRONTEND: noninteractive steps: - - name: build + - name: build image: golang:1.15 pull: always volumes: - - name: cache + - name: cache path: /drone/src/out commands: - - cd /drone/src - - go build -o out/wifi cmd/wifi/wifi.go - - cp CHANGELOG.md out/ - - name: gitea-release + - cd /drone/src + - go build -o out/wifi cmd/wifi/wifi.go + - cp CHANGELOG.md out/ + - name: gitea-release image: plugins/gitea-release volumes: - - name: cache + - name: cache path: /opt/artifacts settings: - api_key: - from_secret: gitea_token - base_url: https://git.kemonine.info - title: $DRONE_TAG - note: Please see the CHANGELOG.md file for details - files: + api_key: + from_secret: gitea_token + base_url: https://git.kemonine.info + title: $DRONE_TAG + note: Please see the CHANGELOG.md file for details + files: - /opt/artifacts/* - checksum: + checksum: - md5 - sha1 - sha256