fix logic of when to run docker jobs
The docker builds have not been running for a while, a change similar to that using in !1568 (merged) gets things running again.
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 23 April 2024 starting at approximately 9am PDT. It is expected to take around twenty minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk.
The docker builds have not been running for a while, a change similar to that using in !1568 (merged) gets things running again.