Skip to content

Commit

Permalink
Fix build for QA deployment (#2195)
Browse files Browse the repository at this point in the history
* Update endpoints for deploy to QA server to get images from microsoft

* Add initial endpoints for release build
  • Loading branch information
jmgrady authored May 23, 2023
1 parent 978a237 commit fa20365
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy_qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
*.data.mcr.microsoft.com:443
${{ secrets.AWS_ACCOUNT }}.dkr.ecr.${{ secrets.AWS_DEFAULT_REGION }}.amazonaws.com
api.ecr.${{ secrets.AWS_DEFAULT_REGION }}.amazonaws.com:443
api.github.com:443
Expand All @@ -39,6 +40,7 @@ jobs:
dotnetcli.azureedge.net:443
files.pythonhosted.org:443
github.com:443
mcr.microsoft.com:443
pipelines.actions.githubusercontent.com:443
production.cloudflare.docker.com:443
pypi.org:443
Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/deploy_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,23 @@ jobs:
- name: Harden Runner
uses: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969 # v2.4.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

egress-policy: audit
allowed-endpoints: >
*.data.mcr.microsoft.com:443
api.ecr-public.us-east-1.amazonaws.com:443
api.github.com:443
api.nuget.org:443
archive.ubuntu.com:80
auth.docker.io:443
files.pythonhosted.org:443
github.com:443
mcr.microsoft.com:443
production.cloudflare.docker.com:443
public.ecr.aws:443
pypi.org:443
registry-1.docker.io:443
registry.npmjs.org:443
sts.us-east-1.amazonaws.com:443
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Build The Combine
id: build_combine
Expand Down

0 comments on commit fa20365

Please sign in to comment.