Adding drone docker deploy.
authorDessalines <tyhou13@gmx.com>
Wed, 13 Jan 2021 14:30:41 +0000 (09:30 -0500)
committerDessalines <tyhou13@gmx.com>
Wed, 13 Jan 2021 14:30:41 +0000 (09:30 -0500)
.drone.yml

index af41391e8b6c05d05b9e42a327eb624d1c57d5a8..b30e740d22dd7aaa3839279b7cd81221743efa9e 100644 (file)
@@ -64,19 +64,16 @@ steps:
       - git submodule init
       - git submodule update --recursive --remote
 
-  - name: create docker tags
-    image: node:14-alpine
-    commands:
-      - echo "$(git describe),latest" > .tags
-    when:
-      ref:
-        - refs/tags/*
-
-  - name: try to make a build
+  - name: make release build and push to docker hub
     image: plugins/docker
     settings:
       dockerfile: Dockerfile
       repo: dessalines/lemmy-ui
+      auto_tag: true
+      username:
+        from_secret: docker_username
+      password:
+        from_secret: docker_password
     when:
       ref:
         - refs/tags/*