From 1a8dd55017f392132fd54be359488066892a9f96 Mon Sep 17 00:00:00 2001 From: Jan Max Tiedemann Date: Tue, 26 Nov 2024 11:38:24 +0100 Subject: [PATCH] fix: cd into workdir because github madness --- actions/gcp-gsm-parse-secrets/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/actions/gcp-gsm-parse-secrets/Dockerfile b/actions/gcp-gsm-parse-secrets/Dockerfile index 3892c03c3..814e864ce 100644 --- a/actions/gcp-gsm-parse-secrets/Dockerfile +++ b/actions/gcp-gsm-parse-secrets/Dockerfile @@ -12,5 +12,4 @@ COPY pyproject.toml poetry.lock /action/workspace/ COPY main.py /action/workspace/ RUN poetry install --no-root && rm -rf $POETRY_CACHE_DIR -# CMD ["poetry","run","python", "/action/workspace/main.py"] -CMD ["bash", "-c", "pwd && ls -la /action/workspace && poetry run python /action/workspace/main.py"] +CMD ["bash", "-c", "cd /action/workspace && poetry run python main.py"]