Update deployment

This commit is contained in:
Keannu Christian Bernasol 2024-10-17 15:13:59 +08:00
parent 1310639bc5
commit d335882de4
2 changed files with 11 additions and 29 deletions

View file

@ -1,11 +0,0 @@
steps:
- name: build
image: node:18-alpine
when:
- branch: master
event: push
commands:
- docker build . -t "$IMAGE"
- echo "$REGISTRY_PASSWORD" | docker login "$REGISTRY" --password-stdin -u "$REGISTRY_USERNAME"
- docker push "$IMAGE"
secrets: [REGISTRY, REGISTRY_USERNAME, REGISTRY_PASSWORD, IMAGE]