Revert: Switch back to Registry Push strategy (Gitea timeout increased)
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5m59s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5m59s
This commit is contained in:
@@ -12,18 +12,16 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Login to Gitea Container Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: gitea.lemarechal.eu
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.PACKAGES_TOKEN }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
push: false
|
||||
load: true
|
||||
push: true
|
||||
tags: gitea.lemarechal.eu/aydent/clawdbot:latest
|
||||
|
||||
- name: Restart Service
|
||||
run: |
|
||||
# Debug: List networks to confirm existence
|
||||
docker network ls
|
||||
# The image is now in the local docker daemon (Host) thanks to the shared socket
|
||||
docker compose up -d --force-recreate clawdbot
|
||||
docker image prune -f
|
||||
|
||||
Reference in New Issue
Block a user