Skip to content

Commit 8facb60

Browse files
committed
fix
1 parent 7ae5c59 commit 8facb60

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build-push-deploy.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ on:
77
required: true
88
environment-name:
99
description: "The backend environment we are building for (API calls are pointed to). This should be one of (development, staging, production)."
10-
type: string
10+
type: choice
11+
options:
12+
- development
13+
- staging
14+
- production
1115
required: true
1216
docker-build-args:
1317
description: "Extra args passed to 'docker build'."
@@ -65,10 +69,10 @@ jobs:
6569
env:
6670
AWS_REGION: us-east-1
6771
steps:
68-
- uses: ./github-actions/build-push-ecr
72+
- uses: mindsdb/github-actions/build-push-ecr@main
6973
with:
7074
module-name: ${{ inputs.service-name }}
71-
build-for-environment: development
75+
build-for-environment: ${{ inputs.environment-name }}
7276

7377
# Push cache layers to docker registry
7478
# This is separate to the build step so we can do other stuff in parallel

0 commit comments

Comments
 (0)