Skip to content

Commit

Permalink
Merge pull request #42 from lslebodn/old_oc
Browse files Browse the repository at this point in the history
Use longer version for imagestream
  • Loading branch information
arilivigni authored May 23, 2018
2 parents 8065c9a + d59e24e commit 93d6838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playbooks/roles/os_temps/tasks/setup_os_templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,5 @@

# Setup tag if container image build successful
- name: Modify tags on images
shell: "{{ oc_bin }} get is | awk '{print $2}' | grep -v DOCKER | sed 's/.*5000\\///g' | grep '{{ build_config_name_file.stdout }}' | xargs -i {{ oc_bin }} tag {}:latest {}:{{ tag }}"
when: modify_tags|bool == true and build_success|bool == true
shell: "{{ oc_bin }} get imagestream | awk '{print $2}' | grep -v DOCKER | sed 's/.*5000\\///g' | grep '{{ build_config_name_file.stdout }}' | xargs -i {{ oc_bin }} tag {}:latest {}:{{ tag }}"
when: modify_tags|bool == true and build_success|bool == true

0 comments on commit 93d6838

Please sign in to comment.