Home

git-age @main - refs - log -
-
https://git.jolheiser.com/git-age.git
git-crypt, but with age
git-age / .woodpecker / goreleaser.yml
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
clone:
  git:
    image: woodpeckerci/plugin-git
    settings:
      tags: true

pipeline:
  compliance:
    image: golang:1.18
    commands:
      - go test -race ./...
      - go vet ./...
    when:
      event: pull_request

  build:
    image: goreleaser/goreleaser
    commands:
      - goreleaser build --snapshot
    when:
      event: pull_request

  release:
    image: goreleaser/goreleaser
    commands:
      - goreleaser release
    secrets: [ gitea_token ]
    when:
      event: tag

  prune:
    image: jolheiser/drone-gitea-prune
    settings:
      base: https://git.jojodev.com
      token:
        from_secret: gitea_token
    when:
      event: tag