diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 3465d28aa..a5ebeff5e 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -14,23 +14,16 @@ jobs: steps: - name: Checkout source uses: actions/checkout@v3 - - name: Detect changed files - uses: tj-actions/changed-files@v45 - with: - files: e2e-tests/mysql-ssh/Dockerfile - name: Build mysql-ssh image - if: steps.changed-files-specific.outputs.any_changed == 'true' run: | docker build -t dbgate/mysql-ssh:latest e2e-tests/mysql-ssh - name: Log in to GHCR - if: steps.changed-files-specific.outputs.any_changed == 'true' uses: docker/login-action@v2 with: registry: ghcr.io username: '${{ github.actor }}' password: '${{ secrets.GITHUB_TOKEN }}' - name: Push image to GHCR - if: steps.changed-files-specific.outputs.any_changed == 'true' run: | docker tag dbgate/mysql-ssh:latest ghcr.io/dbgate/mysql-ssh:latest docker push ghcr.io/dbgate/mysql-ssh:latest diff --git a/workflow-templates/run-tests.yaml b/workflow-templates/run-tests.yaml index 08f220570..189bf4f94 100644 --- a/workflow-templates/run-tests.yaml +++ b/workflow-templates/run-tests.yaml @@ -14,18 +14,18 @@ jobs: - name: Checkout source uses: actions/checkout@v3 - - name: Detect changed files - uses: tj-actions/changed-files@v45 - with: - files: e2e-tests/mysql-ssh/Dockerfile + # - name: Detect changed files + # uses: tj-actions/changed-files@v45 + # with: + # files: e2e-tests/mysql-ssh/Dockerfile - name: Build mysql-ssh image - if: steps.changed-files-specific.outputs.any_changed == 'true' + # if: steps.changed-files-specific.outputs.any_changed == 'true' run: | docker build -t dbgate/mysql-ssh:latest e2e-tests/mysql-ssh - name: Log in to GHCR - if: steps.changed-files-specific.outputs.any_changed == 'true' + # if: steps.changed-files-specific.outputs.any_changed == 'true' uses: docker/login-action@v2 with: registry: ghcr.io @@ -33,7 +33,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Push image to GHCR - if: steps.changed-files-specific.outputs.any_changed == 'true' + # if: steps.changed-files-specific.outputs.any_changed == 'true' run: | docker tag dbgate/mysql-ssh:latest ghcr.io/dbgate/mysql-ssh:latest docker push ghcr.io/dbgate/mysql-ssh:latest