steps: build-static: image: "node:20" commands: - npm install - npm run build build-docker: image: woodpeckerci/plugin-docker-buildx secrets: - docker_username - docker_password settings: registry: docker.grondek.pl repo: docker.grondek.pl/react-homepage tags: 0.1 platforms: linux/arm64 # 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 ]