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

View File

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