From 18c1970550b3c9851a9fcd7340921ee7bd27bbe6 Mon Sep 17 00:00:00 2001 From: Guus van Meerveld Date: Fri, 10 Feb 2023 02:12:56 +0100 Subject: [PATCH] Added docker build to drone ci config --- .drone.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 22964b6..78ac114 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,5 +7,16 @@ steps: image: node:16-alpine commands: - yarn install - - yarn test-build - - yarn lint \ No newline at end of file + - yarn lint + - yarn build + + - name: build docker file and push to docker hub + image: plugins/docker + pull: never + settings: + repo: guusvanmeerveld/portfolio + tags: latest + username: + from_secret: docker_username + password: + from_secret: docker_password \ No newline at end of file