feat(build): add ci_commit_sha to the containers env vars
ref: nofusscomputing/projects/gitlab-ci#49
This commit is contained in:
@ -2,6 +2,7 @@ ARG release_name=bookworm
|
||||
|
||||
ARG kubernetes_version=1.29
|
||||
|
||||
ARG CI_COMMIT_SHA=""
|
||||
|
||||
FROM --platform=$TARGETPLATFORM quay.io/ansible/receptor:v1.4.4 as receptor
|
||||
|
||||
@ -33,7 +34,9 @@ RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v${kubernetes_version}/deb/Rele
|
||||
|
||||
FROM --platform=$TARGETPLATFORM python:3.11-slim-${release_name}
|
||||
|
||||
ARG CI_COMMIT_SHA
|
||||
|
||||
ENV CI_COMMIT_SHA=${CI_COMMIT_SHA}
|
||||
# Ansible chucks a wobbler without. see: https://github.com/ansible/ansible/issues/78283
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
|
Reference in New Issue
Block a user