Optimize: Remove Buildx to fix 5-minute hang and use native docker build
All checks were successful
Build & Push Docker Image to GHCR / build-and-push (push) Successful in 21s

This commit is contained in:
Kroonk
2026-05-20 16:31:39 +02:00
parent 036196abe1
commit c132cd372d

View File

@@ -40,9 +40,6 @@ jobs:
fi fi
docker --version docker --version
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry - name: Log in to GitHub Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
@@ -51,10 +48,8 @@ jobs:
password: ${{ secrets.GHCR_TOKEN }} password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v5 shell: sh
with: run: |
context: . docker build -t ghcr.io/kroonk/mischlabs:latest -t ghcr.io/kroonk/mischlabs:${{ github.sha }} .
push: true docker push ghcr.io/kroonk/mischlabs:latest
tags: | docker push ghcr.io/kroonk/mischlabs:${{ github.sha }}
ghcr.io/kroonk/mischlabs:latest
ghcr.io/kroonk/mischlabs:${{ github.sha }}