Skip to content

Commit 3fb62bd

Browse files
committed
correct repo name
1 parent 6640939 commit 3fb62bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/aws-backend-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: |
3333
if [[ "$GITHUB_EVENT_NAME" == "workflow_dispatch" ]]; then
3434
INPUT_ENV=${{ github.event.inputs.env }}; INPUT_REF=${{ github.event.inputs.ref }}
35-
echo AWS_APPENV="$AWS_APP_NAME"-$INPUT_ENV >> $GITHUB_ENV
35+
echo AWS_APPENV=$AWS_APP_NAME >> $GITHUB_ENV
3636
echo IMAGE_TAG=$(git rev-parse --short HEAD) >> $GITHUB_ENV
3737
echo BUILD_SHA=$(git rev-parse --short HEAD) >> $GITHUB_ENV
3838
fi
@@ -87,7 +87,7 @@ jobs:
8787
--push \
8888
--build-arg BUILD_SHA=$BUILD_SHA \
8989
-f ${{ env.DOCKERFILE }} \
90-
-t $ECR_REGISTRY/$ECR_REPOSITORY:latest \
90+
-t $ECR_REGISTRY/$ECR_REPOSITORY:${{ github.event.inputs.env }} \
9191
-t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG \
9292
${{ env.DOCKER_PATH }}
9393
deploy:

0 commit comments

Comments
 (0)