Skip to content

Docker image is always pulling even if build documentation step is conditional and inactive #14

@VladimirRybalko

Description

@VladimirRybalko

I have the below step in my workflow.

- name: Build Documentation
   if: ${{ github.ref_name == 'master' && github.event_name == 'push' }}
   uses: nikeee/[email protected]
   with:
     args: docs/docfx.json

As you see the step is conditional, however docker image is always pulling independently on step status.

This is what I see in the workflow logs:
Screenshot 2022-01-05 at 17 10 23

It's definitely not good. It takes 30 seconds every time for nothing even if docfx is not needed.

Could you please have a look?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions