Skip to content

Commit

Permalink
fix: cd into workdir because github madness
Browse files Browse the repository at this point in the history
  • Loading branch information
DerTiedemann committed Nov 26, 2024
1 parent f22e071 commit 1a8dd55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions actions/gcp-gsm-parse-secrets/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 1a8dd55

Please sign in to comment.