From fc725b23b1f84c32f85db55f3bcc5228abaec727 Mon Sep 17 00:00:00 2001 From: Michael Panchenko Date: Thu, 11 Dec 2025 18:51:16 +0700 Subject: [PATCH] Fix docker build in CI --- .github/workflows/docker.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index a89e7fd6..724837aa 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -44,26 +44,13 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=raw,value=latest,enable={{is_default_branch}} - - name: Build and push production image + - name: Build and push image from main uses: docker/build-push-action@v5 with: context: . - target: production platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max - - - name: Build and push development image - uses: docker/build-push-action@v5 - with: - context: . - target: development - platforms: linux/amd64,linux/arm64 - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev - labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max \ No newline at end of file