From b0da28e2bff10c862cec9ff894581bfa40805a60 Mon Sep 17 00:00:00 2001 From: Matthew Runyon Date: Wed, 10 Sep 2025 17:34:08 -0500 Subject: [PATCH 1/4] Fix git clone asking for credentials --- docker/examples_script.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/examples_script.sh b/docker/examples_script.sh index f8782c32..282a5c17 100755 --- a/docker/examples_script.sh +++ b/docker/examples_script.sh @@ -91,7 +91,8 @@ function do_checkout_version() ##### # set up the source and target info -git_root_url="https://github.com/deephaven/examples.git" +# The :@ is an empty username/password so git doesn't prompt +git_root_url="https://:@github.com/deephaven/examples.git" target_path="/data/examples" From c7417cf277efe89f6e399524d7b3c5966ab5dcfd Mon Sep 17 00:00:00 2001 From: Matthew Runyon Date: Wed, 10 Sep 2025 18:08:29 -0500 Subject: [PATCH 2/4] Update action base image --- .github/workflows/build-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 84987ab9..6a2ed4c8 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -2,17 +2,17 @@ name: Build CI on: push: - branches: [ 'main' ] - tags: [ 'v*' ] + branches: ["main"] + tags: ["v*"] pull_request: - branches: [ 'main' ] + branches: ["main"] -jobs: +jobs: examples: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Docker meta id: docker_meta From bfa5f509701b70e8513634dd9d28fe97f945895f Mon Sep 17 00:00:00 2001 From: Matthew Runyon Date: Wed, 10 Sep 2025 18:08:40 -0500 Subject: [PATCH 3/4] Reset to no credentials instead of empty --- docker/examples_script.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/examples_script.sh b/docker/examples_script.sh index 282a5c17..f8782c32 100755 --- a/docker/examples_script.sh +++ b/docker/examples_script.sh @@ -91,8 +91,7 @@ function do_checkout_version() ##### # set up the source and target info -# The :@ is an empty username/password so git doesn't prompt -git_root_url="https://:@github.com/deephaven/examples.git" +git_root_url="https://github.com/deephaven/examples.git" target_path="/data/examples" From 5eda63cd5c6ac85894366e782563ce8ddc1523d9 Mon Sep 17 00:00:00 2001 From: Matthew Runyon Date: Wed, 10 Sep 2025 18:10:58 -0500 Subject: [PATCH 4/4] Update docker actions --- .github/workflows/build-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 6a2ed4c8..62c3017b 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -16,7 +16,7 @@ jobs: - name: Docker meta id: docker_meta - uses: docker/metadata-action@v3.3.0 + uses: docker/metadata-action@v5.8.0 with: images: ghcr.io/${{ github.repository_owner }}/examples labels: | @@ -32,14 +32,14 @@ jobs: - name: Login to ghcr.io if: github.event_name != 'pull_request' - uses: docker/login-action@v1.9.0 + uses: docker/login-action@v3.5.0 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Docker build - uses: docker/build-push-action@v2.5.0 + uses: docker/build-push-action@v6.18.0 with: context: ./docker/ tags: ${{ steps.docker_meta.outputs.tags }}