From c7c3f0d5b8f8568249c738112480e2984eb8d16a Mon Sep 17 00:00:00 2001 From: Eli Holmes - NOAA Date: Fri, 11 Oct 2024 15:43:45 -0700 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5f365ca..e105de4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,19 +32,11 @@ jobs: # 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: nmfs-opensci/test-hub-image REPO_DIR: /srv/repo - # - # Uncomment and modify the following line with your image name, otherwise no push will happen - # IMAGE_NAME: "/" # Lets us monitor disks getting full as images get bigger over time - name: Show how much disk space is left