From d49eefb76de627805694bc62c3af1a379a091d5a Mon Sep 17 00:00:00 2001 From: Nexus Date: Sat, 4 May 2024 22:17:24 +0100 Subject: [PATCH] Reduce docker space i forgot each container build is >1GB, so each commit is effectively >1GB, and I do NOT have that kind of storage. Signed-off-by: Nexus --- .gitea/workflows/docker-publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/docker-publish.yaml b/.gitea/workflows/docker-publish.yaml index 1379b5f..761ad17 100644 --- a/.gitea/workflows/docker-publish.yaml +++ b/.gitea/workflows/docker-publish.yaml @@ -10,10 +10,10 @@ jobs: uses: actions/checkout@v4 - name: Build Docker image run: | - docker build -t git.i-am.nexus/nex/college-bot:latest -t git.i-am.nexus/nex/college-bot:$(git rev-parse --short "$GITHUB_SHA") . + docker build -t git.i-am.nexus/nex/college-bot:latest . - name: Log into container registry run: | docker login -u ${{ secrets.CR_USERNAME }} -p ${{ secrets.CR_PASSWORD }} git.i-am.nexus - name: Push to container registry run: | - docker push git.i-am.nexus/nex/college-bot:latest && docker push git.i-am.nexus/nex/college-bot:$(git rev-parse --short "$GITHUB_SHA") \ No newline at end of file + docker push git.i-am.nexus/nex/college-bot:latest \ No newline at end of file