Add CI #1
@ -5,9 +5,19 @@ steps:
|
|||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
build-docker:
|
build-docker:
|
||||||
image: "docker:24.0.6-dind-rootless"
|
image: plugins/docker
|
||||||
commands:
|
settings:
|
||||||
- docker build -t docker.grondek.pl/react-homepage:0.1 .
|
repo: docker.grondek.pl/react-homepage
|
||||||
# - docker buildx build --platform linux/arm64,linux/amd64 --push -t docker.grondek.pl/react-homepage:0.1 .
|
tags: 0.1
|
||||||
# when:
|
# build-docker:
|
||||||
# - branch: [ master, main ]
|
# 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"
|
Loading…
Reference in New Issue
Block a user