Skip to content

Upload Nightly Binaries #1121

Upload Nightly Binaries

Upload Nightly Binaries #1121

Workflow file for this run

name: Upload Nightly Binaries
on:
schedule:
- cron: '0 0 * * *' # run at midnight
workflow_dispatch:
jobs:
BuildAndUpload:
uses: ./.github/workflows/test-build.yml
secrets: inherit
permissions:
id-token: write
contents: read
with:
BucketKey: "nightly-build/latest"
PackageBucketKey: "nightly-build/latest"
TerraformAWSAssumeRole: ${{ vars.TERRAFORM_AWS_ASSUME_ROLE }}
Bucket: ${{ vars.S3_INTEGRATION_BUCKET }}
BuildAndUploadPackages:
uses: ./.github/workflows/test-build-packages.yml
needs: [ BuildAndUpload ]
secrets: inherit
permissions:
id-token: write
contents: read
with:
BucketKey: "nightly-build/latest"
PackageBucketKey: "nightly-build/latest"
TerraformAWSAssumeRole: ${{ vars.TERRAFORM_AWS_ASSUME_ROLE }}
Bucket: ${{ vars.S3_INTEGRATION_BUCKET }}
BuildDocker:
uses: ./.github/workflows/test-build-docker.yml
needs: [ BuildAndUpload ]
secrets: inherit
permissions:
id-token: write
contents: read
with:
ContainerRepositoryNameAndTag: "nightly-build:latest"
BucketKey: "nightly-build/latest"
PackageBucketKey: "nightly-build/latest"