run `docker build` as build user
authorArmaan Bhojwani <code@armaanb.net>
Sat, 19 Dec 2020 18:58:32 +0000 (13:58 -0500)
committerArmaan Bhojwani <code@armaanb.net>
Sat, 19 Dec 2020 18:58:32 +0000 (13:58 -0500)
.build.yml

index 1ec1e820d3da78e037326d3a343da9417875e463..72d2bb1979e9e7f36a2ab37a6580c2229f1ae23f 100644 (file)
@@ -11,6 +11,6 @@ tasks:
       cat ~/docker.txt | docker login --username armaancicd --password-stdin
   - build: |
       cd tall.bot
-      sudo docker build -t armaanb/tall.bot:latest .
+      docker build -t armaanb/tall.bot:latest .
   - push: |
       docker push armaanb/tall.bot