ci: clone encryptid-sdk for parent context Docker build
CI/CD / deploy (push) Failing after 8s Details

Build uses parent directory as context for encryptid-sdk dependency.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-04-01 12:24:17 -07:00
parent 12a47eabcf
commit bcea66417c
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ jobs:
- name: Build and push image
run: |
docker build -t ${{ env.IMAGE }}:${{ env.IMAGE_TAG }} -t ${{ env.IMAGE }}:latest .
git clone --depth 1 http://token:${{ github.token }}@server:3000/jeffemmett/encryptid-sdk.git ../encryptid-sdk
docker build -f Dockerfile -t ${{ env.IMAGE }}:${{ env.IMAGE_TAG }} -t ${{ env.IMAGE }}:latest ..
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ secrets.REGISTRY_USER }} --password-stdin
docker push ${{ env.IMAGE }}:${{ env.IMAGE_TAG }}
docker push ${{ env.IMAGE }}:latest