diff --git a/tools/gate/playbooks/docker-image-build.yaml b/tools/gate/playbooks/docker-image-build.yaml index d379d0c4..df489f9a 100644 --- a/tools/gate/playbooks/docker-image-build.yaml +++ b/tools/gate/playbooks/docker-image-build.yaml @@ -28,7 +28,7 @@ msg: "{{ tags | to_json }}" - 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: BRANCH: "{{ zuul.branch }}" CHANGE: "{{ zuul.change }}" diff --git a/tools/image_tags.py b/tools/image_tags.py index 48b4b4f1..be28669d 100644 --- a/tools/image_tags.py +++ b/tools/image_tags.py @@ -1,4 +1,4 @@ -#!/bin/python +#!/usr/bin/python3 # Copyright 2018 AT&T Intellectual Property. All other rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License");