-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,7 @@ jobs: | |
GH_ACCESS_TOKEN: ${{ secrets.KGW_MACH_SECRET_FOR_KWILDB }} | ||
# vendor is used to bypass private repo issues | ||
run: | | ||
cat ~/.gitconfig | ||
git config --global url."https://${GH_ACCESS_TOKEN}:[email protected]/kwilteam/".insteadOf "https://github.com/kwilteam/" | ||
rm -rf /tmp/kgw | ||
git clone https://github.com/kwilteam/kgw.git /tmp/kgw | ||
|
@@ -65,12 +66,6 @@ jobs: | |
go work vendor | ||
cd - | ||
- name: Unset git config # maybe not needed? since every run is in fresh container?(not sure) | ||
env: # the unset won't work if in same step | ||
GH_ACCESS_TOKEN: ${{ secrets.KGW_MACH_SECRET_FOR_KWILDB }} | ||
run: | | ||
git config --global --unset url."https://${GH_ACCESS_TOKEN}:[email protected]/kwilteam/" | ||
- name: Build kgw image | ||
id: docker_build_kgw | ||
uses: docker/build-push-action@v5 | ||
|