ci(wrapper): remove stdin file after usage

This commit is contained in:
Denis Gukov 2024-10-22 15:57:27 +00:00
parent dc397abfc3
commit 8c3e419d31
2 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,7 @@ ENV ANSIBLE_VERSION 9.4.0
ARG ANSIBLE_VENV_PATH=/opt/semaphore/apps/ansible/${ANSIBLE_VERSION}/venv
RUN apk add --no-cache -U \
jq bash curl git gnupg mysql-client openssh-client-default python3 py3-pip rsync sshpass tar tini tzdata unzip wget zip jq && \
bash curl git gnupg mysql-client openssh-client-default python3 py3-pip rsync sshpass tar tini tzdata unzip wget zip jq && \
rm -rf /var/cache/apk/* && \
adduser -D -u 1001 -G root semaphore && \
mkdir -p /tmp/semaphore && \

View File

@ -236,6 +236,8 @@ EOF
else
"$1" setup - < "${TMP_STDIN_CONFIG_FILE}"
fi
rm -f "${TMP_STDIN_CONFIG_FILE}"
fi