Skip to content

Commit

Permalink
Adding nightly-build-image.yml to mainline
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilumeshsargur committed Mar 22, 2024
1 parent f18bd05 commit 6850b93
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/nightly-build-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build New Image Version
on: workflow_dispatch
#on:
# # Run every night at 5:15PM PST
# # Run before monthly, so we don't immediately patch a new minor version
# schedule:
# - cron: '0 15 17 ? * *'
defaults:
run:
shell: bash -l {0}
jobs:
call-codebuild-project:
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.START_CODEBUILD_ROLE }}
aws-region: us-east-1
# CodeBuild timeout of 8 hours
role-duration-seconds: 28800
audience: https://sts.us-east-1.amazonaws.com
- name: Run CodeBuild
uses: dark-mechanicum/aws-codebuild@v1
with:
projectName: 'betaimagerelease92AD4800-5O3Rv5xogtpw'
buildspec: '{"imageOverride": "aws/codebuild/standard:7.0", "imagePullCredentialsTypeOverride": "CODEBUILD"}'

0 comments on commit 6850b93

Please sign in to comment.