-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (32 loc) · 873 Bytes
/
deploy-dev.yml
File metadata and controls
39 lines (32 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Deploy to development environment
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
tag:
description: Tag to use for the image
default: 'nightly'
type: choice
options:
- nightly
- latest
permissions:
id-token: write # This is required for requesting the JWT for OIDC
jobs:
build:
name: Build & Push Image
runs-on: ubuntu-24.04-arm
environment: development
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build images
uses: ./.github/actions/build-images
with:
tag: ${{ inputs.tag || 'nightly' }}
aws-ecr-uri: ${{ vars.PRIVATE_ECR }}
aws-role-arn: ${{ vars.AWS_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}