react-homepage/.woodpecker.yml
Przemek Grondek bf9e196520
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
CI WIP
2023-09-14 22:27:34 +02:00

25 lines
679 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
tags: 0.1
platforms: linux/arm64
# build-docker:
# image: docker
## image: "docker:24.0.6-dind-rootless"
# commands:
# - docker build -t docker.grondek.pl/react-homepage:0.1 .
## - docker buildx build --platform linux/arm64,linux/amd64 --push -t docker.grondek.pl/react-homepage:0.1 .
## when:
## - branch: [ master, main ]