Skip to content

Commit

Permalink
ci: fix ECS deploy action (#3586)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell authored Mar 8, 2024
1 parent a422888 commit 7babc38
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/api-deploy-ecs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ runs:
run: |
echo "Building docker image with URL: "
echo $ECR_REPOSITORY:$IMAGE_TAG
docker build --secret id=sse_pgp_pkey,src=./sse_pgp_pkey -t $ECR_REPOSITORY:$IMAGE_TAG -f api/Dockerfile --build-arg SAML_INSTALLED=1 --build-arg POETRY_OPTS="--with saml,auth-controller,workflows" .
docker build --secret id=sse_pgp_pkey,src=./sse_pgp_pkey -t $ECR_REPOSITORY:$IMAGE_TAG -f api/Dockerfile --build-arg SAML_INSTALLED=1 --build-arg POETRY_OPTS="--with saml,auth-controller,workflows" --build-arg GH_TOKEN=${{ inputs.github_access_token }} .
docker push $ECR_REPOSITORY:$IMAGE_TAG
echo "image=$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
shell: bash
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/api-deploy-production-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
aws_identity_migration_task_role_arn: arn:aws:iam::084060095745:role/task-exec-role-741a7e3
aws_task_definitions_directory_path: infrastructure/aws/production
flagsmith_saml_revision: v1.4.0
flagsmith_workflows_revision: v1.2.5
flagsmith_auth_controller_revision: v0.0.1
flagsmith_rbac_revision: v0.7.0
sse_pgp_private_key: ${{ secrets.SSE_PGP_PRIVATE_KEY }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/api-deploy-staging-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
aws_identity_migration_task_role_arn: arn:aws:iam::302456015006:role/task-exec-role-6fb76f6
aws_task_definitions_directory_path: infrastructure/aws/staging
flagsmith_saml_revision: v1.4.0
flagsmith_workflows_revision: v1.2.5
flagsmith_auth_controller_revision: v0.0.1
flagsmith_rbac_revision: v0.7.0
sse_pgp_private_key: ${{ secrets.SSE_PGP_PRIVATE_KEY }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
env:
FLAGSMITH_SAML_REVISION: v1.4.0
FLAGSMITH_RBAC_REVISION: v0.7.0
FLAGSMITH_WORKFLOWS_REVISION: v1.2.5
FLAGSMITH_AUTH_CONTROLLER_REVISION: v0.0.1

jobs:
Expand Down

0 comments on commit 7babc38

Please sign in to comment.