Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eduadiez committed Sep 17, 2020
1 parent 6669731 commit 2df63cf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 17 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/dispatch_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 4 additions & 2 deletions build/Dockerfile
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"]
2 changes: 1 addition & 1 deletion build/entrypoint.sh
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
Expand Down
7 changes: 4 additions & 3 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,12 @@
"link": "http://my.dappnode/#/sdk/publish/r=nethermind.public.dappnode.eth&v=0.0.20&h=%2Fipfs%2FQmeNTWdJMvsjk4KL3RPkts638FQ2CojQfRSgYy9Zynwv8A"
},
"0.0.21": {
"hash": "/ipfs/QmTd8gxh8b6xXjuHAZtMzrFaFdPXTjv6TuSSwz7jJjdv7C",
"hash": "/ipfs/QmcHmZAah4Gi47XtW8MdZvbNnB2NZT9vfo76H91Y4HD5tA",
"type": "directory",
"uploadedTo": {
"remote": "Thu, 25 Jun 2020 19:57:29 GMT"
"dappnode": "Thu, 17 Sep 2020 07:24:59 GMT",
"remote": "Thu, 17 Sep 2020 07:27:15 GMT"
},
"link": "http://my.dappnode/#/sdk/publish/r=nethermind.public.dappnode.eth&v=0.0.21&h=%2Fipfs%2FQmTd8gxh8b6xXjuHAZtMzrFaFdPXTjv6TuSSwz7jJjdv7C"
"link": "https://dappnode.github.io/sdk-publish/?r=nethermind.public.dappnode.eth&v=0.0.21&h=%2Fipfs%2FQmcHmZAah4Gi47XtW8MdZvbNnB2NZT9vfo76H91Y4HD5tA"
}
}

0 comments on commit 2df63cf

Please sign in to comment.