Last active
February 14, 2023 02:22
-
-
Save wenqiglantz/5c2ba39cd68220d1dcb452ac3248c438 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI workflow for building graviton image and publishing it to ECR | |
on: | |
workflow_dispatch: | |
inputs: | |
environment: | |
description: 'Environment to run the workflow against' | |
type: environment | |
required: true | |
pull_request: | |
branches: [ main ] | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
build-and-test: | |
permissions: | |
id-token: write # need this for OIDC | |
contents: read | |
uses: wenqiglantz/reusable-workflows-modules/.github/workflows/ci-graviton.yml@main | |
with: | |
env: ${{ github.event.inputs.environment }} | |
secrets: inherit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment