diff --git a/.github/workflows/cli-integration.yml b/.github/workflows/cli-integration.yml index b459b60da..af3da7337 100644 --- a/.github/workflows/cli-integration.yml +++ b/.github/workflows/cli-integration.yml @@ -19,10 +19,14 @@ jobs: - name: Build Docker image run: | + docker login -u "$DOCKER_LOGIN" --password-stdin <<<"$DOCKER_TOKEN" docker build \ -t dandiarchive/dandiarchive-api \ -f dev/django-public.Dockerfile \ . + env: + DOCKER_LOGIN: ${{ secrets.DOCKER_LOGIN }} + DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} - name: Export Docker image run: |