diff --git a/.drone.yml b/.drone.yml index 4a65b70..d00fd1b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,11 +4,18 @@ type: kubernetes name: default steps: - - name: Build image + - name: node.js build image: node:18 commands: - "npm add --global pnpm" - pnpm i - pnpm run build - - "pnpm run docker:build" - - "pnpm run docker:push" + + - name: docker build + image: docker + commands: + - "docker build -t ${DOCKER_REGISTRY}/garrettmills/www ." + - "docker push ${DOCKER_REGISTRY}/garrettmills/www" + environment: + DOCKER_REGISTRY: + from_secret: DOCKER_REGISTRY