use .woodpecker directory for CI pipeline
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
when:
|
||||
- event: [push, manual]
|
||||
branch: main
|
||||
|
||||
steps:
|
||||
- name: build-api
|
||||
image: docker:24-dind
|
||||
commands:
|
||||
- docker build -t registry.mcrn.ar/unt/api:latest -f ctrl/Dockerfile.api .
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
- name: build-ui
|
||||
image: docker:24-dind
|
||||
commands:
|
||||
- docker build -t registry.mcrn.ar/unt/ui:latest -f ctrl/Dockerfile.ui .
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
28
.woodpecker/build.yml
Normal file
28
.woodpecker/build.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
# UNT (NOVA) Pipeline
|
||||
|
||||
when:
|
||||
- event: push
|
||||
- event: manual
|
||||
|
||||
steps:
|
||||
- name: build-api
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.mcrn.ar/unt/api
|
||||
registry: registry.mcrn.ar
|
||||
tags:
|
||||
- latest
|
||||
- ${CI_COMMIT_SHA:0:7}
|
||||
dockerfile: ctrl/Dockerfile.api
|
||||
context: .
|
||||
|
||||
- name: build-ui
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.mcrn.ar/unt/ui
|
||||
registry: registry.mcrn.ar
|
||||
tags:
|
||||
- latest
|
||||
- ${CI_COMMIT_SHA:0:7}
|
||||
dockerfile: ctrl/Dockerfile.ui
|
||||
context: .
|
||||
Reference in New Issue
Block a user