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
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}
dry_run: true
when:
event: tag