Use python3 when creating the docker image tags

python2 will be gone away soon so switch to python3.

Change-Id: If0511db6fbd97fe72184b3fa1ef92f29f8cae4c7
This commit is contained in:
Thomas Bechtold 2019-03-15 16:10:45 +01:00 committed by Drew Walters
parent 37249f3492
commit ed0b94da64
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
msg: "{{ tags | to_json }}" msg: "{{ tags | to_json }}"
- name: Determine tags - name: Determine tags
shell: echo '{{ tags | to_json }}' | python {{ zuul.project.src_dir }}/tools/image_tags.py shell: echo '{{ tags | to_json }}' | python3 {{ zuul.project.src_dir }}/tools/image_tags.py
environment: environment:
BRANCH: "{{ zuul.branch }}" BRANCH: "{{ zuul.branch }}"
CHANGE: "{{ zuul.change }}" CHANGE: "{{ zuul.change }}"

View File

@ -1,4 +1,4 @@
#!/bin/python #!/usr/bin/python3
# Copyright 2018 AT&T Intellectual Property. All other rights reserved. # Copyright 2018 AT&T Intellectual Property. All other rights reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");