From 627d147be25d7e79efa34efffe7669d7dceeb5f1 Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Sun, 14 Dec 2025 09:23:41 +0100 Subject: [PATCH] Always rebuild docker image in CI --- .github/workflows/main.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f98528f..04d088c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,20 +52,7 @@ jobs: username: ${{ secrets.REGISTRY_USERNAME || github.actor }} password: ${{ secrets.REGISTRY_PASSWORD || secrets.GITHUB_TOKEN }} - - name: Check for existing image - id: image-check - env: - TARGET_TAG: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.wylab.outputs.commit }} - run: | - if docker manifest inspect "$TARGET_TAG" >/dev/null 2>&1; then - echo "exists=true" >> "$GITHUB_OUTPUT" - echo "Image $TARGET_TAG already exists; skipping build." - else - echo "exists=false" >> "$GITHUB_OUTPUT" - fi - - name: Build and push Docker image - if: ${{ steps.image-check.outputs.exists != 'true' }} uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 with: context: .