diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index a8bea8d30..73cb913bc 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -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: @@ -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 }} diff --git a/SECURITY.md b/SECURITY.md index 00fe42be4..0b1400673 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -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