Progress
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Layla 2023-12-07 20:52:50 +01:00
parent 6cf087290a
commit ba7df030d2

View File

@ -2,18 +2,21 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: Build and Release name: Build and Release
trigger:
branch:
- main
event:
- tag
steps: steps:
- name: Test
image: golang:1.21
commands:
- sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
- task test
- name: Build & Package - name: Build & Package
image: golang:1.21 image: golang:1.21
commands: commands:
- sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d - sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
- task package - task package
when:
event:
- tag
- name: Release - name: Release
image: plugins/gitea-release image: plugins/gitea-release
settings: settings:
@ -23,6 +26,9 @@ steps:
repo: layla/gsquash repo: layla/gsquash
files: files:
- ./dist/gsquash.tar.gz - ./dist/gsquash.tar.gz
when:
event:
- tag
--- ---
kind: secret kind: secret
name: gitea_api_key name: gitea_api_key