Skip to content

Commit 0ce5204

Browse files
committed
fix: deploy to latest tag
1 parent 67e8e8a commit 0ce5204

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/deploy-dev.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ on:
77

88
# Allows you to run this workflow manually from the Actions tab
99
workflow_dispatch:
10+
inputs:
11+
tag:
12+
description: Tag to use for the image
13+
default: 'nightly'
14+
type: choice
15+
options:
16+
- nightly
17+
- latest
18+
1019

1120
permissions:
1221
id-token: write # This is required for requesting the JWT for OIDC
@@ -24,7 +33,7 @@ jobs:
2433
- name: Build images
2534
uses: ./.github/actions/build-images
2635
with:
27-
tag: nightly
36+
tag: ${{ inputs.tag || 'nightly' }}
2837
aws-ecr-uri: ${{ vars.PRIVATE_ECR }}
2938
aws-role-arn: ${{ vars.AWS_ROLE_ARN }}
3039
aws-region: ${{ vars.AWS_REGION }}

0 commit comments

Comments
 (0)