removed steps things
This commit is contained in:
parent
ce74bdeb39
commit
5ab66c1e67
1 changed files with 13 additions and 19 deletions
32
.drone.yml
32
.drone.yml
|
@ -6,22 +6,16 @@ platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
- name: docker
|
||||||
- name: build
|
image: plugins/docker
|
||||||
image: amd64/node:12.22.1-buster@sha256:436a6432b6f5109c2c70a1f71f5df0e7d29946a967e85882fe08a37f36b8bec4
|
settings:
|
||||||
commands:
|
repo: cami/Bachelorthesis_Code
|
||||||
- npm install
|
username:
|
||||||
- npm run build:ssr
|
from_secret: DOCKER_USERNAME
|
||||||
- name: docker
|
password:
|
||||||
image: plugins/docker
|
from_secret: DOCKER_SECRET
|
||||||
settings:
|
when:
|
||||||
repo: cami/Bachelorthesis_Code
|
branch:
|
||||||
username:
|
- main
|
||||||
from_secret: DOCKER_USERNAME
|
event:
|
||||||
password:
|
- push
|
||||||
from_secret: DOCKER_SECRET
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
Loading…
Reference in a new issue