20 lines
411 B
YAML
20 lines
411 B
YAML
|
steps:
|
||
|
build-static:
|
||
|
image: "node:20"
|
||
|
commands:
|
||
|
- npm install
|
||
|
- npm run build
|
||
|
build-docker:
|
||
|
image: woodpeckerci/plugin-docker-buildx
|
||
|
secrets:
|
||
|
- docker_username
|
||
|
- docker_password
|
||
|
settings:
|
||
|
registry: docker.grondek.pl
|
||
|
repo: docker.grondek.pl/react-homepage
|
||
|
auto_tag: true
|
||
|
tags: latest
|
||
|
platforms: linux/arm64
|
||
|
when:
|
||
|
event: tag
|