From: Armaan Bhojwani Date: Sat, 19 Dec 2020 18:48:50 +0000 (-0500) Subject: login before pulling image X-Git-Url: https://git.armaanb.net/?p=tall.bot.git;a=commitdiff_plain;h=ab7b928c8212399a81d23d9505919ae2ec1a9891 login before pulling image --- 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