Browse Source

Build Docker image and push to Docker Hub on master

pocketjawa 1 year ago
parent
commit
0986fe83e3
1 changed files with 10 additions and 1 deletions
  1. 10 1
      .drone.yml

+ 10 - 1
.drone.yml

@@ -8,4 +8,13 @@ steps:
   image: golang
   commands:
   - go get
-  - go build
+  - go build
+- name: docker
+  image: plugins/docker
+  settings:
+    repo: pocketjawa/discord-pocketbot
+    auto_tag: true
+    username:
+      from_secret: docker_username
+    password:
+      from_secret: docker_password