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 run build
build-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 ]
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"