Skip to content

Commit 1d51f76

Browse files
nl0claude
andcommitted
ci: allow feature branch catalog deploys (temp)
TEMP: Enable ECR push on feature branch for 260130-quilt-mcp-server dev stack testing. Revert before merging to master. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9cb8603 commit 1d51f76

1 file changed

Lines changed: 18 additions & 23 deletions

File tree

.github/workflows/deploy-catalog.yaml

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: Deploy catalog to ECR
22

33
on:
44
push:
5-
branches:
6-
- master
5+
# TEMP: allow feature branch for 260130-quilt-mcp-server dev stack
6+
# branches:
7+
# - master
78
paths:
89
- '.github/workflows/deploy-catalog.yaml'
910
- 'catalog/**'
@@ -36,33 +37,27 @@ jobs:
3637
- name: Login to Prod ECR
3738
id: login-prod-ecr
3839
uses: aws-actions/amazon-ecr-login@v2
39-
- name: Login to MP ECR
40-
id: login-mp-ecr
41-
uses: aws-actions/amazon-ecr-login@v2
42-
with:
43-
registries: 709825985650
44-
- name: Configure AWS credentials from GovCloud account
45-
uses: aws-actions/configure-aws-credentials@v5
46-
with:
47-
role-to-assume: arn:aws-us-gov:iam::313325871032:role/github/GitHub-Quilt
48-
aws-region: us-gov-east-1
49-
- name: Login to GovCloud ECR
50-
id: login-govcloud-ecr
51-
uses: aws-actions/amazon-ecr-login@v2
52-
- name: Build and push Docker image to Prod, MP and GovCloud ECR
40+
# TEMP: commented out for 260130-quilt-mcp-server dev stack
41+
# - name: Login to MP ECR
42+
# id: login-mp-ecr
43+
# uses: aws-actions/amazon-ecr-login@v2
44+
# with:
45+
# registries: 709825985650
46+
# - name: Configure AWS credentials from GovCloud account
47+
# uses: aws-actions/configure-aws-credentials@v5
48+
# with:
49+
# role-to-assume: arn:aws-us-gov:iam::313325871032:role/github/GitHub-Quilt
50+
# aws-region: us-gov-east-1
51+
# - name: Login to GovCloud ECR
52+
# id: login-govcloud-ecr
53+
# uses: aws-actions/amazon-ecr-login@v2
54+
- name: Build and push Docker image to Prod ECR
5355
env:
5456
ECR_REGISTRY_PROD: ${{ steps.login-prod-ecr.outputs.registry }}
55-
ECR_REGISTRY_GOVCLOUD: ${{ steps.login-govcloud-ecr.outputs.registry }}
56-
ECR_REGISTRY_MP: ${{ steps.login-mp-ecr.outputs.registry }}
5757
ECR_REPOSITORY: quiltdata/catalog
58-
ECR_REPOSITORY_MP: quilt-data/quilt-payg-catalog
5958
IMAGE_TAG: ${{ github.sha }}
6059
run: |
6160
docker buildx build \
6261
-t $ECR_REGISTRY_PROD/$ECR_REPOSITORY:$IMAGE_TAG \
63-
-t $ECR_REGISTRY_GOVCLOUD/$ECR_REPOSITORY:$IMAGE_TAG \
64-
-t $ECR_REGISTRY_MP/$ECR_REPOSITORY_MP:$IMAGE_TAG \
6562
.
6663
docker push $ECR_REGISTRY_PROD/$ECR_REPOSITORY:$IMAGE_TAG
67-
docker push $ECR_REGISTRY_GOVCLOUD/$ECR_REPOSITORY:$IMAGE_TAG
68-
docker push $ECR_REGISTRY_MP/$ECR_REPOSITORY_MP:$IMAGE_TAG

0 commit comments

Comments
 (0)