diff --git a/.drone.yaml b/.drone.yaml index d5a9018..8da4f3e 100644 --- a/.drone.yaml +++ b/.drone.yaml @@ -2,22 +2,19 @@ kind: pipeline type: docker name: Build and Release -when: - # branch: - # - main +trigger: + branch: + - main event: - tag steps: - - name: install-taskfile + - name: Build & Package image: golang:1.21 commands: - sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d - - name: build - image: golang:1.21 - commands: - task package - - name: release + - name: Release image: plugins/gitea-release settings: base_url: https://gitea.layla.gg