Skip to content

Commit

Permalink
fix: escape setup error (autowarefoundation#820)
Browse files Browse the repository at this point in the history
* chore: update GITHUB_TOKEN in create-base-image.yaml

Signed-off-by: Naophis <nao1288stusj@gmail.com>

* chore: update Dockerfile.bi to use HTTPS for GitHub URLs

Signed-off-by: Naophis <nao1288stusj@gmail.com>

* chore: update Dockerfile.bi and create-base-image.yaml

Signed-off-by: Naophis <nao1288stusj@gmail.com>

* chore: Update Dockerfile.bi to use HTTPS for GitHub URLs

Signed-off-by: Naophis <nao1288stusj@gmail.com>

* chore: Replace git@github with https://x-access-token in Dockerfile.bi

Signed-off-by: Naophis <nao1288stusj@gmail.com>

---------

Signed-off-by: Naophis <nao1288stusj@gmail.com>
  • Loading branch information
Naophis authored May 28, 2024
1 parent b648861 commit 5ded93c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/pilot-auto/Dockerfile.bi
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ RUN ls /autoware
RUN mkdir -p ~/.ssh \
&& ssh-keyscan github.com >> ~/.ssh/known_hosts

## replace git@github with https://x-access-token
RUN sed -i "s/git@github\.com:/https:\/\/github\.com\//g" ./ansible-galaxy-requirements.yaml \
&& sed -i "s/https:\/\/github.com/https:\/\/x-access-token:$GITHUB_TOKEN@github.com/g" ./ansible-galaxy-requirements.yaml
## Set up development environment
RUN --mount=type=ssh ./setup-dev-env.sh -y $SETUP_ARGS \
&& pip uninstall -y ansible ansible-core
Expand Down

0 comments on commit 5ded93c

Please sign in to comment.