From 63c07a602d10b02ee610f464670d949f060f893d Mon Sep 17 00:00:00 2001 From: TimHoogervorst Date: Sun, 10 May 2026 15:18:21 +0200 Subject: [PATCH] Refactor deployment workflow: streamline steps and update image push process --- .gitea/workflows/deploy-agent.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy-agent.yaml b/.gitea/workflows/deploy-agent.yaml index ac00d1c..14134c1 100644 --- a/.gitea/workflows/deploy-agent.yaml +++ b/.gitea/workflows/deploy-agent.yaml @@ -9,10 +9,15 @@ jobs: build: runs-on: home + container: + image: docker:24-cli + steps: - - name: Checkout repo - run: | - git clone http://gitea:3000/TimHoogervorst/Agents.git . + - name: Show files + run: ls -la + + - name: Verify docker + run: docker version - name: Build Docker image run: | @@ -20,6 +25,6 @@ jobs: -t 192.168.1.185:5010/agents-api:latest \ -f docker/Dockerfile . - - name: Push image to registry + - name: Push image run: | docker push 192.168.1.185:5010/agents-api:latest \ No newline at end of file