File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 peersyst/exrp:${{ github.event.inputs.tag }}
4747 ${{ fromJSON('["", "peersyst/exrp:latest"]')[github.event.inputs.is_latest_release == 'true'] }}
4848 secrets : |
49- ssh_key =${{ secrets.SSH_KEY }}
49+ ssh_key_b64 =${{ secrets.SSH_KEY_B64 }}
5050 - name : Publish the Release
5151 uses : softprops/action-gh-release@v1
5252 with :
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ COPY . .
1010# Hotfix to allow download of private go module
1111ENV GOPRIVATE=github.com/cometbft/cometbft-sec-tachyon
1212RUN mkdir -p ~/.ssh
13- RUN --mount=type=secret,id=ssh_key,env=SSH_KEY echo $SSH_KEY > ~/.ssh/id_rsa
13+ RUN --mount=type=secret,id=ssh_key_b64 base64 -d -i /run/secrets/ssh_key_b64 > ~/.ssh/id_rsa
1414RUN chmod 600 ~/.ssh/id_rsa
1515RUN ssh-keyscan github.com >> ~/.ssh/known_hosts
1616RUN git config --global url."ssh://git@github.com/cometbft/cometbft-sec-tachyon" .insteadOf "https://github.com/cometbft/cometbft-sec-tachyon"
You can’t perform that action at this time.
0 commit comments