mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-09 07:17:10 -05:00
ci: extend aws credential lifetime during image build (#3944)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
873fd8d721
commit
6e1e49cc4f
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build-os-image.yml
vendored
4
.github/workflows/build-os-image.yml
vendored
|
|
@ -151,6 +151,8 @@ jobs:
|
|||
with:
|
||||
role-to-assume: arn:aws:iam::795746500882:role/GitHubConstellationImagePipeline
|
||||
aws-region: eu-central-1
|
||||
# extend token expiry to 3 hours to ensure long image builds don't fail because of expired credentials
|
||||
role-duration-seconds: 10800
|
||||
|
||||
- name: Login to Azure
|
||||
uses: ./.github/actions/login_azure
|
||||
|
|
@ -172,7 +174,7 @@ jobs:
|
|||
run: |
|
||||
sudo sysctl --ignore --write kernel.apparmor_restrict_unprivileged_unconfined=0
|
||||
sudo sysctl --ignore --write kernel.apparmor_restrict_unprivileged_userns=0
|
||||
|
||||
|
||||
- name: Build and upload
|
||||
id: build
|
||||
shell: bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue