This commit is contained in:
parent
b91e14b8da
commit
e2655a02f1
1 changed files with 10 additions and 7 deletions
|
@ -1,8 +1,11 @@
|
|||
steps:
|
||||
- name: Build image
|
||||
image: docker
|
||||
commands:
|
||||
- docker build --rm -t local/point-median-backend .
|
||||
- docker run --network=host caprover/cli-caprover:2.2.3 caprover deploy --caproverUrl "$CAPROVER_URL" --caproverPassword "$CAPROVER_PASSWORD" -a "$CAPROVER_APP" -i local/point-median-backend
|
||||
secrets: [ caprover_url, caprover_app, caprover_password ]
|
||||
|
||||
publish:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
platforms: linux/amd64
|
||||
repo: ${CI_REPO_OWNER}/point-median-backend
|
||||
registry: service.jevalide.ca/registre
|
||||
tags: latest
|
||||
username: ${CI_REPO_OWNER}
|
||||
password:
|
||||
from_secret: service_pwd
|
||||
|
|
Loading…
Reference in a new issue