Skip to content

Commit c91faf3

Browse files
authored
Merge pull request #155 from renproject/fix/github-token
Fix github token in the docker image
2 parents 6b8cdd3 + cfcc28a commit c91faf3

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: docker/build-push-action@v2
3131
with:
3232
push: true
33-
tags: renbot/multichain:${{ steps.push-info.outputs.tag }}
33+
tags: renbot/multichain:${{ steps.push-info.outputs.tag }}, renbot/multichain:latest
3434
secrets: |
3535
GIT_AUTH_TOKEN=${{ secrets.PERSONAL_ACCESS_TOKEN }}
3636
build-args: |

.github/workflows/test.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Configure git for Private Modules
1616
env:
1717
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
18-
run: git config --global url."https://roynalnaruto:${TOKEN}@github.com".insteadOf "https://github.com"
18+
run: git config --global url."https://jazg:${TOKEN}@github.com".insteadOf "https://github.com"
1919

2020
- name: Check out code into the Go module directory
2121
uses: actions/checkout@v1
@@ -130,7 +130,7 @@ jobs:
130130
- name: Configure git for Private Modules
131131
env:
132132
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
133-
run: git config --global url."https://roynalnaruto:${TOKEN}@github.com".insteadOf "https://github.com"
133+
run: git config --global url."https://jazg:${TOKEN}@github.com".insteadOf "https://github.com"
134134

135135
- name: Check out code into the Go module directory
136136
uses: actions/checkout@v1
@@ -256,7 +256,7 @@ jobs:
256256
- name: Configure git for Private Modules
257257
env:
258258
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
259-
run: git config --global url."https://roynalnaruto:${TOKEN}@github.com".insteadOf "https://github.com"
259+
run: git config --global url."https://jazg:${TOKEN}@github.com".insteadOf "https://github.com"
260260

261261
- name: Check out code into the Go module directory
262262
uses: actions/checkout@v1
@@ -381,7 +381,7 @@ jobs:
381381
- name: Configure git for Private Modules
382382
env:
383383
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
384-
run: git config --global url."https://roynalnaruto:${TOKEN}@github.com".insteadOf "https://github.com"
384+
run: git config --global url."https://jazg:${TOKEN}@github.com".insteadOf "https://github.com"
385385

386386
- name: Check out code into the Go module directory
387387
uses: actions/checkout@v1
@@ -506,7 +506,7 @@ jobs:
506506
- name: Configure git for Private Modules
507507
env:
508508
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
509-
run: git config --global url."https://roynalnaruto:${TOKEN}@github.com".insteadOf "https://github.com"
509+
run: git config --global url."https://jazg:${TOKEN}@github.com".insteadOf "https://github.com"
510510

511511
- name: Check out code into the Go module directory
512512
uses: actions/checkout@v1
@@ -631,7 +631,7 @@ jobs:
631631
- name: Configure git for Private Modules
632632
env:
633633
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
634-
run: git config --global url."https://roynalnaruto:${TOKEN}@github.com".insteadOf "https://github.com"
634+
run: git config --global url."https://jazg:${TOKEN}@github.com".insteadOf "https://github.com"
635635

636636
- name: Check out code into the Go module directory
637637
uses: actions/checkout@v1
@@ -758,7 +758,7 @@ jobs:
758758
- name: Configure git for Private Modules
759759
env:
760760
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
761-
run: git config --global url."https://roynalnaruto:${TOKEN}@github.com".insteadOf "https://github.com"
761+
run: git config --global url."https://jazg:${TOKEN}@github.com".insteadOf "https://github.com"
762762

763763
- name: Check out code into the Go module directory
764764
uses: actions/checkout@v1
@@ -882,7 +882,7 @@ jobs:
882882
- name: Configure git for Private Modules
883883
env:
884884
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
885-
run: git config --global url."https://roynalnaruto:${TOKEN}@github.com".insteadOf "https://github.com"
885+
run: git config --global url."https://jazg:${TOKEN}@github.com".insteadOf "https://github.com"
886886

887887
- name: Check out code into the Go module directory
888888
uses: actions/checkout@v1
@@ -1006,7 +1006,7 @@ jobs:
10061006
- name: Configure git for Private Modules
10071007
env:
10081008
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
1009-
run: git config --global url."https://roynalnaruto:${TOKEN}@github.com".insteadOf "https://github.com"
1009+
run: git config --global url."https://jazg:${TOKEN}@github.com".insteadOf "https://github.com"
10101010

10111011
- name: Check out code into the Go module directory
10121012
uses: actions/checkout@v1
@@ -1130,7 +1130,7 @@ jobs:
11301130
- name: Configure git for Private Modules
11311131
env:
11321132
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
1133-
run: git config --global url."https://roynalnaruto:${TOKEN}@github.com".insteadOf "https://github.com"
1133+
run: git config --global url."https://jazg:${TOKEN}@github.com".insteadOf "https://github.com"
11341134

11351135
- name: Check out code into the Go module directory
11361136
uses: actions/checkout@v1
@@ -1254,7 +1254,7 @@ jobs:
12541254
- name: Configure git for Private Modules
12551255
env:
12561256
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
1257-
run: git config --global url."https://roynalnaruto:${TOKEN}@github.com".insteadOf "https://github.com"
1257+
run: git config --global url."https://jazg:${TOKEN}@github.com".insteadOf "https://github.com"
12581258

12591259
- name: Check out code into the Go module directory
12601260
uses: actions/checkout@v1

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ WORKDIR $GOPATH/src/github.com/renproject/solana-ffi
4848
RUN git checkout 720c0143d8655bfcd412ae73c949474df2c1dcf3
4949
RUN make clean && make
5050
RUN go install ./...
51+
52+
RUN git config --global --remove-section url."https://${GITHUB_TOKEN}:[email protected]/"

0 commit comments

Comments
 (0)