Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ env:
DOCKER_USER: ${{ secrets.DOCKER_IO_USER }}
IS_RELEASE: ${{
startsWith( github.ref, 'refs/tags/pythd-' ) ||
startsWith( github.ref, 'refs/tags/devnet-' ) ||
startsWith( github.ref, 'refs/tags/testnet-' ) ||
startsWith( github.ref, 'refs/tags/mainnet-' ) }}
IS_DEVNET_RELEASE: ${{
startsWith( github.ref, 'refs/tags/devnet-' ) }}
startsWith( github.ref, 'refs/tags/oracle-' ) ||
IS_ORACLE_RELEASE: ${{
startsWith( github.ref, 'refs/tags/oracle-' ) }}


jobs:
Expand Down Expand Up @@ -56,14 +54,14 @@ jobs:
echo "${{ secrets.DOCKER_IO_PASS }}" | publish

- name : Get binary from docker
if : env.IS_DEVNET_RELEASE == 'true'
if : env.IS_ORACLE_RELEASE == 'true'
run : |
docker create -ti --name container "${DOCKER_IMAGE}" bash
docker cp container:/home/pyth/pyth-client/target/deploy/pyth_oracle.so .
docker rm -f container

- name : Publish binary
if : env.IS_DEVNET_RELEASE == 'true'
if : env.IS_ORACLE_RELEASE == 'true'
uses: svenstaro/upload-release-action@133984371c30d34e38222a64855679a414cb7575
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Pyth operates a self hosted [bug bounty program](https://pyth.network/bounty) to

- **Scopes**
- [Pyth Oracle](https://github.com/pyth-network/pyth-client/tree/main/program)
- [Pyth Crosschain Ethereum](https://github.com/pyth-network/pyth-crosschain/tree/main/ethereum/contracts/pyth)
- [Pyth Crosschain Aptos](https://github.com/pyth-network/pyth-crosschain/tree/main/aptos/contracts)
- [Pyth Crosschain Ethereum](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/contracts/pyth)
- [Pyth Crosschain Aptos](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/aptos/contracts)
- [Pyth Governance](https://github.com/pyth-network/governance/tree/master/staking/programs/staking)
- **Rewards**
- Critical: Up to $500,000
Expand Down