Skip to content

Commit

Permalink
Merge pull request #2043 from dandi/bf-ci2
Browse files Browse the repository at this point in the history
Do login into docker hub so we could reliably build our docker image
  • Loading branch information
mvandenburgh authored Oct 15, 2024
2 parents b6767b2 + 6b815dc commit b239530
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cli-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit b239530

Please sign in to comment.