summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmaan Bhojwani <code@armaanb.net>2020-12-19 13:48:50 -0500
committerArmaan Bhojwani <code@armaanb.net>2020-12-19 13:48:50 -0500
commitab7b928c8212399a81d23d9505919ae2ec1a9891 (patch)
treec197e14022d8d22cbede595f7bbac9e87f7605ce
parent36f2be356169528b44d0904fd652fc0be5b1fa51 (diff)
downloadtall.bot-ab7b928c8212399a81d23d9505919ae2ec1a9891.tar.gz
login before pulling image
-rw-r--r--.build.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.build.yml b/.build.yml
index 4f3e42c..1ec1e82 100644
--- a/.build.yml
+++ b/.build.yml
@@ -8,9 +8,9 @@ secrets:
tasks:
- prep: |
sudo systemctl start docker
+ cat ~/docker.txt | docker login --username armaancicd --password-stdin
- build: |
cd tall.bot
sudo docker build -t armaanb/tall.bot:latest .
- push: |
- cat ~/docker.txt | docker login --username armaancicd --password-stdin
docker push armaanb/tall.bot