Skip to content

Commit

Permalink
Explicitly add EE name and tag to destination (#167)
Browse files Browse the repository at this point in the history
* Explicitly add EE name and tag to destination

This avoids changes in containers.podman behaviour where the image name
is not always automatically appended (in particular, if you happen to
have a port specification)

* Re-adding missing yaml EOF denoter

* Check for undefined tag, make clearer order of precedence

---------

Co-authored-by: James Lloyd <[email protected]>
Co-authored-by: Tom Page <[email protected]>
  • Loading branch information
3 people authored Sep 11, 2024
1 parent dd3dcbe commit 14addc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/ee_builder/tasks/00_build_ee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
tag: "{{ __execution_environment_definition.tag | default(omit) }}"
validate_certs: "{{ ee_validate_certs | default(omit) }}"
push_args:
dest: "{{ ee_registry_dest }}"
dest: "{{ ee_registry_dest }}/{{ __execution_environment_definition.name }}{{ (':' + __execution_environment_definition.tag) if __execution_environment_definition.tag is defined }}"
sign_by: "{{ ee_sign_by | default(omit) }}"
when: ee_image_push

Expand Down

0 comments on commit 14addc6

Please sign in to comment.