Skip to content

Instantly share code, notes, and snippets.

@wenqiglantz
Last active February 14, 2023 02:22
Show Gist options
  • Save wenqiglantz/5c2ba39cd68220d1dcb452ac3248c438 to your computer and use it in GitHub Desktop.
Save wenqiglantz/5c2ba39cd68220d1dcb452ac3248c438 to your computer and use it in GitHub Desktop.
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