2023-09-14 19:41:32 +00:00
|
|
|
steps:
|
|
|
|
build-static:
|
2023-09-13 21:59:43 +00:00
|
|
|
image: "node:20"
|
2023-09-13 21:55:50 +00:00
|
|
|
commands:
|
2023-09-14 19:48:24 +00:00
|
|
|
- npm install
|
2023-09-14 19:41:32 +00:00
|
|
|
- npm run build
|
|
|
|
build-docker:
|
2023-09-14 20:07:52 +00:00
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: docker.grondek.pl/react-homepage
|
|
|
|
tags: 0.1
|
|
|
|
# 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 ]
|
|
|
|
|
|
|
|
services:
|
|
|
|
docker:
|
|
|
|
image: "docker:24.0.6-dind-rootless"
|