Add CI #1

Merged
pgrondek merged 12 commits from ci into main 2023-09-14 20:58:46 +00:00
Showing only changes of commit 7253f30d2c - Show all commits

View File

@ -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"