File tree Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ # Keep GitHub Actions (in .github/workflows) up to date
4+ - package-ecosystem : " github-actions"
5+ directory : " /" # this is correct even if workflows are in .github/workflows
6+ schedule :
7+ interval : " weekly"
8+
9+ # Keep Dockerfile base images (in repo root) up to date
10+ - package-ecosystem : " docker"
11+ directory : " /" # root directory where your Dockerfiles live
12+ schedule :
13+ interval : " weekly"
Original file line number Diff line number Diff line change @@ -54,17 +54,11 @@ jobs:
5454 with :
5555 images : cogstacksystems/jupyter-hub:latest
5656
57- - uses : actions/checkout@v3
5857 - name : Get and set release version env var
5958 id : release_version
6059 run : |
6160 echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
62- echo "::set-output name=RELEASE_VERSION::$RELEASE_VERSION"
63-
64- - name : set docker release tag name
65- id : set_release_version
66- if : ${{ github.ref == 'refs/heads/main' }}
67- run : echo "RELEASE_VERSION=${RELEASE_VERSION#?}" >> $GITHUB_ENV
61+ echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_OUTPUT
6862
6963 - name : set docker release tag name
7064 id : set_release_version_latest
7973 run : |
8074 docker build --platform linux/${{ matrix.platform }} -t cogstacksystems/jupyter-hub:$RELEASE_VERSION-${{ matrix.platform }} -f Dockerfile_hub --build-arg CPU_ARCHITECTURE=${{ matrix.platform }} .
8175 docker push cogstacksystems/jupyter-hub:$RELEASE_VERSION-${{ matrix.platform }}
82- echo "::set-output name=digest::$(docker images --digests --format '{{.Digest}}' cogstacksystems/jupyter-hub | head -n 1)" >> $GITHUB_OUTPUT
83-
84- - name : Image digest
85- run : echo ${{ steps.docker_build.outputs.digest }}
76+ DIGEST=$(docker images --digests --format '{{.Digest}}' cogstacksystems/jupyter-hub | head -n 1)
77+ echo "digest=$DIGEST" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 4343 git config --global user.name 'Git bot'
4444 git config --global user.email 'bot@noreply.github.com'
4545 git remote set-url origin https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}
46- git commit -am "Auto updated submodule references" && git push || echo "No changes to commit"
46+ git commit -am "Auto updated submodule references" && git push || echo "No changes to commit"
You can’t perform that action at this time.
0 commit comments