~starkingdoms/starkingdoms

ref: b8e076d536b7aba4c2ec67e3cc4fa4f2e39ce32f starkingdoms/.woodpecker/.client.yaml -rw-r--r-- 762 bytes
b8e076d5 — core ci work 7 1 year, 8 months ago
                                                                                
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
steps:
  - name: client_fmt
    image: node
    commands:
      - cd starkingdoms-client
      - yarn
      - yarn prettier . --check

  - name: client_build
    depends_on:
      - client_fmt
    image: node
    commands:
      - cd starkingdoms-client
      - yarn
      - yarn build

  - name: build_image
    depends_on:
      - client_build
    image: woodpeckerci/plugin-docker-buildx
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    settings:
      repo: registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/client
      dockerfile: starkingdoms-client/Dockerfile
      username: c0repwn3r
      password:
        from_secret: gitlab_token
      tag: ${CI_COMMIT_TAG}
      registry: https://registry.gitlab.com
    when:
      event: tag