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 }}