Skip to content

Commit

Permalink
add login step to testing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zoghbi-a committed Dec 30, 2024
1 parent fb5657b commit 663e3c9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: "Pull Image: ${{ matrix.image }}"
run: |
tag=${{ github.head_ref || github.ref_name }}
Expand Down
2 changes: 1 addition & 1 deletion astro-default/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ COPY --chmod=0755 update-notebooks.sh /usr/local/bin/before-notebook.d
USER $NB_USER

# For firefly
ENV FIREFLY_URL=https://irsa.ipac.caltech.edu/irsaviewer
ENV FIREFLY_URL=https://irsa.ipac.caltech.edu/irsaviewer
2 changes: 1 addition & 1 deletion base_image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ ONBUILD COPY --chown=$NB_UID:$NB_GID --chmod=644 introduction.md* /opt/scripts/

ONBUILD RUN rm -r $HOME/build
ONBUILD USER ${NB_USER}
ONBUILD WORKDIR ${HOME}
ONBUILD WORKDIR ${HOME}

0 comments on commit 663e3c9

Please sign in to comment.