mirror of
https://github.com/ansible/awx.git
synced 2026-03-25 21:05:03 -02:30
Refactor image_build and image_push roles
Primary changes are: - Generalized variable names (remove "docker") - Add explicit "push" variable rather than checking if the "registry" variable is defined. - Allow for passing in version as build arg
This commit is contained in:
@@ -54,6 +54,9 @@ ADD requirements/requirements.txt \
|
||||
|
||||
RUN cd /tmp && make requirements_awx
|
||||
|
||||
ARG VERSION
|
||||
ARG SETUPTOOLS_SCM_PRETEND_VERSION
|
||||
|
||||
{% if (build_dev|bool) or (kube_dev|bool) %}
|
||||
ADD requirements/requirements_dev.txt /tmp/requirements
|
||||
RUN cd /tmp && make requirements_awx_dev
|
||||
|
||||
Reference in New Issue
Block a user