Skip to content

Commit

Permalink
Edit prep release pipeline - refresh aws token (#919)
Browse files Browse the repository at this point in the history
Currently our release pipeline is failing. If all build steps take to
long, the AWS token get invalid (valid for 1h).
Added an additional authentication step to refresh the AWS token.
  • Loading branch information
mrchtr authored Apr 3, 2024
1 parent ad7191e commit 619ac35
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/prep-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ jobs:
- name: Build components
run: ./scripts/build_components.sh -t $GITHUB_REF_NAME

# In case the build runs longer as 1h we need to refresh the token
- name: Login to Amazon ECR Public
id: login-ecr-public
uses: aws-actions/amazon-ecr-login@v2
with:
registry-type: public

- name: Build data explorer
run: ./scripts/build_explorer.sh -t $GITHUB_REF_NAME

Expand Down

0 comments on commit 619ac35

Please sign in to comment.