Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
serafettin authored Jan 10, 2024
1 parent dafd7d2 commit e505fca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ jobs:

- name: Build, tag, and push image to Amazon ECR
env:
DOCKER_TAG: indexas/llm-indexer:${{ steps.build-time.outputs.time }}
DOCKER_REGISTRY: 534970752686.dkr.ecr.us-east-1.amazonaws.com
DOCKER_TAG: indexnetwork/llm-indexer:${{ steps.build-time.outputs.time }}
DOCKER_REGISTRY: 236785930124.dkr.ecr.us-east-1.amazonaws.com
run: |
docker build -t $DOCKER_TAG .
docker tag $DOCKER_TAG $DOCKER_REGISTRY/$DOCKER_TAG
docker push $DOCKER_REGISTRY/$DOCKER_TAG
docker tag $DOCKER_TAG $DOCKER_REGISTRY/indexas/llm-indexer:latest-${GITHUB_REF#refs/heads/}
docker push $DOCKER_REGISTRY/indexas/llm-indexer:latest-${GITHUB_REF#refs/heads/}
docker tag $DOCKER_TAG $DOCKER_REGISTRY/indexnetwork/llm-indexer:latest-${GITHUB_REF#refs/heads/}
docker push $DOCKER_REGISTRY/indexnetwork/llm-indexer:latest-${GITHUB_REF#refs/heads/}
- name: Deploy
run: |-
kubectl set image deployment/llm-indexer llm-indexer=534970752686.dkr.ecr.us-east-1.amazonaws.com/indexas/llm-indexer:${{ steps.build-time.outputs.time }} --namespace ${GITHUB_REF#refs/heads/}
kubectl set image deployment/llm-indexer llm-indexer=236785930124.dkr.ecr.us-east-1.amazonaws.com/indexnetwork/llm-indexer:${{ steps.build-time.outputs.time }} --namespace env-${GITHUB_REF#refs/heads/}

0 comments on commit e505fca

Please sign in to comment.