Merge "Container build: define ARGs after FROM line"

This commit is contained in:
Zuul 2022-09-23 17:15:56 +00:00 committed by Gerrit Code Review
commit 5565581993
1 changed files with 1 additions and 1 deletions

View File

@ -13,10 +13,10 @@
# License for the specific language governing permissions and limitations
# under the License.
FROM {{ tcib_from }}
{% for key, value in tcib_args.items() %}
ARG {{ key }}={{ value | to_json }}
{% endfor %}
FROM {{ tcib_from }}
{% for key, value in tcib_labels.items() %}
LABEL {{ key }}={{ value | to_json }}
{% endfor %}