From 48b0a7690c0cc2fa01b8ad40fb0b4fe710db255d Mon Sep 17 00:00:00 2001 From: Sergey Kuznetsov Date: Mon, 8 Apr 2024 13:13:14 +0100 Subject: [PATCH] Fix docker update trigger (#1330) --- .github/workflows/update_docker_ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_docker_ci.yml b/.github/workflows/update_docker_ci.yml index 9aa7a2ab5..fac2e1a1c 100644 --- a/.github/workflows/update_docker_ci.yml +++ b/.github/workflows/update_docker_ci.yml @@ -1,6 +1,10 @@ name: Update CI docker image on: pull_request: + paths: + - 'docker/ci/**' + - 'docker/compilers/**' + - .github/workflows/update_docker_ci.yml push: branches: [develop] paths: @@ -15,7 +19,7 @@ jobs: runs-on: [self-hosted, heavy] steps: - name: Login to DockerHub - if: ${{ github.event == 'push' }} + if: ${{ github.event_name == 'push' }} uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USER }} @@ -38,6 +42,6 @@ jobs: with: context: ${{ github.workspace }}/docker/ci platforms: linux/amd64,linux/arm64 - push: ${{ github.event == 'push' }} + push: ${{ github.event_name == 'push' }} tags: ${{ steps.meta.outputs.tags }}