~starkingdoms/starkingdoms

ref: 8f4a25cd7c867b0eb8c360b8d9cd4e9d258b657e starkingdoms/.woodpecker/.client.yaml -rw-r--r-- 750 bytes
8f4a25cd — core fix 3 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
steps:
  - name: client_fmt
    image: node:21-alpine
    commands:
      - cd starkingdoms-client
      - yarn
      - yarn prettier . --check

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

  - name: build_image
    depends_on:
      - client_build
    image: node:21-alpine
    commands:
      - cd starkindoms-client
      - docker login registry.gitlab.com -u c0repwn3r -p $GITLAB_TOKEN
      - docker build . -t registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/client:$(git describe --always)
      - docker push registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/client:$(git describe --always)
    secrets: [ gitlab_token ]