Skip to content

Commit

Permalink
Fix the helper script for testing the GitHub Action workflows on forked
Browse files Browse the repository at this point in the history
repositories.

Signed-off-by: Hiroshi Hayakawa <hhiroshell@gmail.com>
  • Loading branch information
hhiroshell committed Jul 30, 2024
1 parent 0cda9d0 commit e885ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/test-fork.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ sed -i '' "/- config: windows-lcow/,+4d" $wfdir/build.yml

echo "Replacing the registry account with owned one (assumes DOCKER_PASSWORD and DOCKER_USERNAME have been added to GitHub secrets, if not using ghcr.io)"
sed -i '' "s/buildpacksio\/pack/$registry\/$username\/$reponame/g" $wfdir/check-latest-release.yml
sed -i '' "/REPO_NAME: 'index.docker.io'/ s/index.docker.io/$registry/g" $wfdir/delivery-docker.yml
sed -i '' "/REGISTRY_NAME: 'index.docker.io'/ s/index.docker.io/$registry/g" $wfdir/delivery-docker.yml
sed -i '' "/USER_NAME: 'buildpacksio'/ s/buildpacksio/$username/g" $wfdir/delivery-docker.yml

if [[ $registry != "index.docker.io" ]]; then
Expand Down

0 comments on commit e885ffe

Please sign in to comment.