File tree Expand file tree Collapse file tree 2 files changed +9
-19
lines changed
Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Original file line number Diff line number Diff line change 2929 - name : Setup SSH for private modules
3030 run : |
3131 mkdir -p ~/.ssh
32- echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id_rsa
32+ echo "${{ secrets.SSH_KEY_B64 }}" | base64 -d > ~/.ssh/id_rsa
3333 chmod 600 ~/.ssh/id_rsa
3434 ssh-keyscan github.com >> ~/.ssh/known_hosts
3535 # Build and push docker image
Original file line number Diff line number Diff line change @@ -16,22 +16,12 @@ jobs:
1616 - uses : actions/checkout@v2
1717 - uses : docker/setup-qemu-action@v2
1818 - uses : docker/setup-buildx-action@v2
19- - uses : actions/cache@v3
20- with :
21- path : /tmp/.buildx-cache
22- key : ${{ github.job }}-${{ runner.os }}-${{ github.event.pull_request.number }}-buildx
23- restore-keys : |
24- ${{ github.job }}-${{ runner.os }}-${{ github.event.pull_request.number }}-buildx
2519 # Build docker image
26- - name : Build docker image
27- uses : docker/build-push-action@v4
28- with :
29- target : integration
30- push : false
31- cache-from : type=local,src=/tmp/.buildx-cache
32- cache-to : type=local,dest=/tmp/.buildx-cache-new
33- - name : Move cache
34- if : always()
35- run : |
36- rm -rf /tmp/.buildx-cache
37- mv /tmp/.buildx-cache-new /tmp/.buildx-cache
20+ - name : Build docker image
21+ uses : docker/build-push-action@v4
22+ with :
23+ context : .
24+ target : integration
25+ push : false
26+ secrets : |
27+ ssh_key_b64=${{ secrets.SSH_KEY_B64 }}
You can’t perform that action at this time.
0 commit comments