Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 7 additions & 16 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,16 @@ jobs:
- name: Checkout files in repo
uses: actions/checkout@main

- name: Build the image and push to quay.io if not a pull request
- name: Build the image and push to registry
uses: jupyterhub/repo2docker-action@master
with:
# Don't push the image during a PR build
NO_PUSH: "${{ github.event_name == 'pull_request' }}"
# Make sure username & password/token pair matches your registry credentials
DOCKER_USERNAME: ${{ secrets.QUAY_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
DOCKER_REGISTRY: "quay.io"
# Disable pushing a 'latest' tag, as this often just causes confusion
LATEST_TAG_OFF: true
# Put repo contents in /srv/repo, rather than the default (/home/jovyan). The home directory
# is mounted over by persistent storage when we are using the built image in a JupyterHub, and
# so all contents put in /home/jovyan are lost. This particularly prevents any 'start' script from
# working, as it is needed in runtime.
DOCKER_USERNAME: ${{ github.actor }}
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
DOCKER_REGISTRY: "ghcr.io"
IMAGE_NAME: "${{ github.repository_owner }}/bootcamp-amazon-q-image"
NO_PUSH: ${{ github.event_name == 'pull_request' }}
# LATEST_TAG_OFF: true
REPO_DIR: /srv/repo
#
# Uncomment and modify the following line with your image name, otherwise no push will happen
# IMAGE_NAME: "<quay-username>/<repository-name>"

# Lets us monitor disks getting full as images get bigger over time
- name: Show how much disk space is left
Expand Down
1 change: 1 addition & 0 deletions .trigger
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# trigger build Sat May 24 18:01:34 EDT 2025
17 changes: 12 additions & 5 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@ dependencies:
- jupyter_contrib_nbextensions==0.5.1
# Required until https://github.com/jupyterhub/repo2docker/pull/1196 is merged
- jupyterhub-singleuser>=3.0,<4.0
# Set default python version to 3.10 - repo2docker sets it to 3.7 instead by default,
# which can limit us to older package versions
# Set default python version to 3.10
- python=3.10
# Everyone wants to use nbgitpuller for everything, so let's do that
# Everyone wants to use nbgitpuller for everything
- nbgitpuller=1.1.*
# Add other packages here
# -

# Amazon Q Developer JupyterLab extension
- amazon-q-developer-jupyterlab-ext

# Install ML libs
- pip
- pip:
- torch
- torchvision
- tensorflow