From 1e22523291a72dd88970082d76a9a550eed9ee0c Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Wed, 8 Mar 2023 15:12:21 +0100 Subject: [PATCH] docker compose build && push --- zsh/aliases.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index bec1164..93b0b6a 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -103,6 +103,8 @@ fi command -v docker-compose > /dev/null 2>&1 if [ $? -eq 0 ]; then alias dc="docker-compose" + alias dcb="docker-compose build" + alias dcp="docker-compose build && docker-compose push" alias dcu="docker-compose up -d --build --remove-orphans" alias dcd="docker-compose down" fi