You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Optionally run build checks and fail on issues #1219
Hi @ferrarimarco
Great question. We are working on a dedicated step for validating build configuration to solve this use case.
It is also possible to fail the build by adding a directive, but this will only validate the specified build target. We recommend the step I mentioned above to check the entire build configuration as a validation step for your build.
I can let you know when this new step is available, but would this approach work for you? I am keen to get feedback on how this approach works for people.
Activity
colinhemmings commentedon Aug 27, 2024
Hi @ferrarimarco
Great question. We are working on a dedicated step for validating build configuration to solve this use case.
It is also possible to fail the build by adding a directive, but this will only validate the specified build target. We recommend the step I mentioned above to check the entire build configuration as a validation step for your build.
I can let you know when this new step is available, but would this approach work for you? I am keen to get feedback on how this approach works for people.
ferrarimarco commentedon Aug 28, 2024
Hi! Thanks for the recommendation. I think that the dedicated step would be best for this use case.
Our current workaround is to manually add a step that runs
docker build --check.