Skip to content

Build And Upload Artifact #186

Build And Upload Artifact

Build And Upload Artifact #186

# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
name: Build And Upload Artifact
on:
workflow_dispatch:
inputs:
release:
description: 'Release Artifact'
required: false
default: false
type: boolean
e2e-test-bypass-link:
description: 'Failed E2E Test Run Link (for bypass)'
required: false
type: string
e2e-test-bypass-approver:
description: 'Approver GitHub Username (for bypass)'
required: false
type: string
tag:
description: 'Staging Artifact Tag'
required: false
default: 'staging'
type: string
workflow_call:
inputs:
release:
description: 'Release Artifact'
required: false
default: false
type: boolean
e2e-test-bypass-link:
description: 'Failed E2E Test Run Link (for bypass)'
required: false
type: string
e2e-test-bypass-approver:
description: 'Approver GitHub Username (for bypass)'
required: false
type: string
tag:
description: 'Staging Artifact Tag'
required: false
default: 'integration'
type: string
jobs:
BuildAndUpload:

Check failure on line 49 in .github/workflows/build-and-upload-release.yml

View workflow run for this annotation

GitHub Actions / Build And Upload Artifact

Invalid workflow file

The workflow is not valid. .github/workflows/build-and-upload-release.yml (Line: 49, Col: 3): Error calling workflow 'aws/amazon-cloudwatch-agent-operator/.github/workflows/build-and-upload.yml@183e7ef4d95ac3f94e572b9a10705e5228ffdc2c'. The nested job 'MakeBinary' is requesting 'id-token: write', but is only allowed 'id-token: none'. .github/workflows/build-and-upload-release.yml (Line: 49, Col: 3): Error calling workflow 'aws/amazon-cloudwatch-agent-operator/.github/workflows/build-and-upload.yml@183e7ef4d95ac3f94e572b9a10705e5228ffdc2c'. The nested job 'MakeTABinary' is requesting 'id-token: write', but is only allowed 'id-token: none'.

Check failure on line 49 in .github/workflows/build-and-upload-release.yml

View workflow run for this annotation

GitHub Actions / Build And Upload Artifact

Invalid workflow file

The workflow is not valid. .github/workflows/build-and-upload-release.yml (Line: 49, Col: 3): Error calling workflow 'aws/amazon-cloudwatch-agent-operator/.github/workflows/build-and-upload.yml@183e7ef4d95ac3f94e572b9a10705e5228ffdc2c'. The nested job 'MakeBinary' is requesting 'id-token: write', but is only allowed 'id-token: none'. .github/workflows/build-and-upload-release.yml (Line: 49, Col: 3): Error calling workflow 'aws/amazon-cloudwatch-agent-operator/.github/workflows/build-and-upload.yml@183e7ef4d95ac3f94e572b9a10705e5228ffdc2c'. The nested job 'MakeTABinary' is requesting 'id-token: write', but is only allowed 'id-token: none'.
uses: ./.github/workflows/build-and-upload.yml
secrets: inherit
with:
release: ${{inputs.release}}
tag: ${{inputs.tag}}
e2e-test-bypass-link: ${{inputs.e2e-test-bypass-link}}
e2e-test-bypass-approver: ${{inputs.e2e-test-bypass-approver}}
test-image-before-upload: ${{ inputs.e2e-test-bypass-link == '' && inputs.e2e-test-bypass-approver == '' }}