summaryrefslogtreecommitdiff
path: root/.woodpecker/.alpine.yaml
blob: fcee15d8cc56f3228120d7eaf0000c98e89d318c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
skip_clone: false

steps:
  - name: build
    when:
      branch: [master]
      event: [push, tag, manual]
    image: alpine:edge
    commands:
      - apk add --no-cache go make golangci-lint
      - make
      - sh ./scripts/lint.sh
  - name: release
    when:
      branch: [master]
      event: [tag]
    image: woodpeckerci/plugin-release
    settings:
      files:
        - 'cca'
      api_key:
        from_secret: FORGEJO_API_KEY