--- kind: pipeline type: kubernetes name: default metadata: labels: pod-security.kubernetes.io/audit: privileged services: - name: dind-daemon image: docker:dind steps: - name: node.js build image: node:18 commands: - "npm add --global pnpm" - pnpm i - pnpm run build - name: container build image: docker:latest commands: - "sleep 30" - "docker build -t $DOCKER_REGISTRY/garrettmills/www ." - "docker push $DOCKER_REGISTRY/garrettmills/www" environment: DOCKER_HOST: tcp://localhost:2375 DOCKER_REGISTRY: from_secret: DOCKER_REGISTRY