ci: extend aws credential lifetime during image build (#3944)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2025-09-02 11:01:02 +02:00 committed by GitHub
parent 873fd8d721
commit 6e1e49cc4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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