Add Docker build and push steps
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-03-28 21:01:14 +01:00
parent b8bcf9f540
commit ae8cec43d8

View File

@@ -1,8 +1,15 @@
kind: pipeline kind: pipeline
name: build-and-deploy name: default
steps: steps:
- name: build - name: build
image: docker
commands:
- docker build -t cdn-app-insider:latest .
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker push cdn-app-insider:latest
- name: build-node
image: node:latest image: node:latest
environment: environment:
USERNAME: USERNAME: