Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyAmazonian committed Dec 16, 2024
1 parent 3949dcc commit bcd3555
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-nightly-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
run: |
./gradlew --refresh-dependencies :serving:dockerDeb -Psnapshot
- name: Build temp docker image
if: ${{ inputs.mode == 'temp' || inputs.mode == 'nightly'}}
if: ${{ inputs.mode == 'temp' || inputs.mode == 'nightly' }}
working-directory: serving/docker
run: |
export NIGHTLY="-nightly"
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
run: |
./gradlew --refresh-dependencies :serving:dockerDeb -Psnapshot
- name: Build temp docker image
if: ${{ inputs.mode == 'temp' || inputs.mode == 'nightly'}}
if: ${{ inputs.mode == 'temp' || inputs.mode == 'nightly' }}
working-directory: serving/docker
run: |
export NIGHTLY="-nightly"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ jobs:
DOCKER_IMAGE_URI="${{ env.AWS_ECR_REPO }}:pytorch-inf2-nightly"
fi
echo "DOCKER_IMAGE_URI=$DOCKER_IMAGE_URI" >>$GITHUB_ENV
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin ${{env.AWS_ECR_REPO}}
ECR_REGION=$(echo "${{ env.AWS_ECR_REPO }}" | awk -F. '{print $4}')
aws ecr get-login-password --region $ECR_REGION | docker login --username AWS --password-stdin ${{env.AWS_ECR_REPO}}
echo $DOCKER_IMAGE_URI
docker pull $DOCKER_IMAGE_URI
- name: Run djl_python unit/integration tests on container
Expand Down

0 comments on commit bcd3555

Please sign in to comment.