steps: build-static: image: "node:20" commands: - 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 ]