-
Notifications
You must be signed in to change notification settings - Fork 7
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
4 changed files
with
10 additions
and
17 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 |
---|---|---|
|
@@ -105,19 +105,9 @@ jobs: | |
asset_name: docker-compose.yml | ||
asset_content_type: 'application/octet-stream' | ||
|
||
- name: Upload release content-hash file | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps | ||
asset_path: ./build_${{ steps.next-release.outputs.DNP_VERSION }}/content-hash | ||
asset_name: content-hash | ||
asset_content_type: 'application/octet-stream' | ||
|
||
- name: Commit changes | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Eduardo" | ||
git commit -am "Github action update" | ||
git push | ||
git push |
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
ARG VERSION | ||
FROM nethermind/nethermind:${VERSION} | ||
ARG UPSTREAM_VERSION | ||
FROM nethermind/nethermind:${UPSTREAM_VERSION} | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
COPY mainnet_archive.cfg mainnet.cfg mainnet_advanced.cfg /nethermind/configs/ | ||
|
||
RUN groupadd -g 1000 nethermind && useradd -u 1000 -g nethermind -s /bin/sh nethermind | ||
|
||
RUN apt update && apt install gosu | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
#!/bin/bash | ||
set -e | ||
|
||
ADVANCED_FILE=/nethermind/configs/mainnet_advanced.cfg | ||
|
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