From 7331bc6406dfac29497d11aeb541b585c2af9f81 Mon Sep 17 00:00:00 2001 From: midefos Date: Tue, 21 May 2024 00:09:19 +0200 Subject: [PATCH] updating docker-compose --- docker-compose.yml | 5 +---- upload.sh | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 upload.sh diff --git a/docker-compose.yml b/docker-compose.yml index 0479f58..b968fd1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,12 +2,9 @@ version: "3.9" services: martillo-maldito: - image: martillo-maldito:latest + image: git.midefos.com/midefos/martillo-maldito:latest restart: always network_mode: "host" - - build: - context: . pull_policy: build cap_add: diff --git a/upload.sh b/upload.sh new file mode 100644 index 0000000..59a80cd --- /dev/null +++ b/upload.sh @@ -0,0 +1,3 @@ +sudo docker build -f Dockerfile -t martillo-maldito . +sudo docker tag martillo-maldito:latest git.midefos.com/midefos/martillo-maldito:latest +sudo docker push git.midefos.com/midefos/martillo-maldito:latest