Skip to content

Commit

Permalink
Set working_dir for release step
Browse files Browse the repository at this point in the history
When creating a release on Github, we need the docker container to have
the repository directory as the PWD. That will mean we can run
`.buildkite/steps/github-release.sh` in pipeline.yml and it should Just
Work

This should avoid errors like [1]:

    /bin/sh: 1: .buildkite/steps/github-release.sh: not found

[1] https://buildkite.com/buildkite-aws-stack/elastic-ci-stack-s3-secrets-hooks/builds/85#0193b446-ed45-4803-9563-c705b4437150
  • Loading branch information
yob committed Dec 11, 2024
1 parent f51cd90 commit 8466a43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .buildkite/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ services:
context: .
volumes:
- ../:/work:cached
working_dir: /work

0 comments on commit 8466a43

Please sign in to comment.