We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8811896 commit d41e4e4Copy full SHA for d41e4e4
roles/docker_skip_hosts_in_registry/tasks/clear_skip_if_missing.yml
@@ -6,7 +6,8 @@
6
environment:
7
DOCKER_CLI_EXPERIMENTAL: enabled
8
# we don't need to keep checking after clearing skip_build_and_push
9
- when: skip_build_and_push
+ # only build variants that are configured to push with this configuration should be checked
10
+ when: (build_vars.push_when | default(false)) and skip_build_and_push
11
12
# when the image doesn't exist in the registry the above returns a non-zero, causing an exception
13
rescue:
0 commit comments