fix: add OPERATOR_VERSION as build-arg to pass the version to operator

This commit is contained in:
kurokobo
2022-03-09 22:32:39 +09:00
parent 5375fec77d
commit 2f47b907fd
2 changed files with 4 additions and 1 deletions

View File

@@ -1,7 +1,9 @@
FROM quay.io/operator-framework/ansible-operator:v1.12.0
ARG DEFAULT_AWX_VERSION
ARG OPERATOR_VERSION
ENV DEFAULT_AWX_VERSION=${DEFAULT_AWX_VERSION}
ENV OPERATOR_VERSION=${OPERATOR_VERSION}
COPY requirements.yml ${HOME}/requirements.yml
RUN ansible-galaxy collection install -r ${HOME}/requirements.yml \