You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
466 B
22 lines
466 B
kind: pipeline
|
|
type: docker
|
|
name: deploy-image
|
|
|
|
steps:
|
|
- name: test-build
|
|
image: node:16-alpine
|
|
commands:
|
|
- yarn install
|
|
- yarn run prisma:generate
|
|
- yarn lint
|
|
- yarn test-build
|
|
|
|
- name: build docker file and push to docker hub
|
|
image: plugins/docker
|
|
settings:
|
|
repo: guusvanmeerveld/portfolio
|
|
tags: latest
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password |