From ea566d0e6a04f89280c13aca164e1a8bd4310436 Mon Sep 17 00:00:00 2001 From: ajmandourah Date: Sun, 13 Oct 2024 17:00:11 +0300 Subject: [PATCH] remove check for changed files --- .github/workflows/docker.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7f9bf6f..2ddc335 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -23,16 +23,7 @@ jobs: with: fetch-depth: 2 - - name: Get changed files - id: changed-files - uses: tj-actions/changed-files@v45.0.3 - with: - files: | - go.* - **/*.go - - name: Log in to the Container registry - if: steps.changed-files.outputs.any_changed == 'true' uses: docker/login-action@v2 with: registry: ${{ env.REGISTRY }} @@ -40,14 +31,12 @@ jobs: password: ${{ secrets.CR_PAT }} - name: Extract metadata (tags, labels) for Docker - if: steps.changed-files.outputs.any_changed == 'true' id: meta uses: docker/metadata-action@v4 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build and push Docker image - if: steps.changed-files.outputs.any_changed == 'true' uses: docker/build-push-action@v4 with: context: .