Skip to content

Commit

Permalink
Merge pull request #98 from cyber-dojo/get-base-image-from-beta-2
Browse files Browse the repository at this point in the history
Get base-image with digest from beta environment
  • Loading branch information
JonJagger authored Feb 2, 2025
2 parents bd8862f + f74b51f commit 15d6f3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ set -Eeu

echo_base_image()
{
# local -r json="$(curl --fail --silent --request GET https://beta.cyber-dojo.org/runner/base_image)"
# echo "${json}" | jq -r '.base_image'
echo cyberdojo/docker-base:d6830c0@sha256:4be745df921403085fd2626b1013707352d81a1a943b2cc8c198300246d6f6f7
local -r json="$(curl --fail --silent --request GET https://beta.cyber-dojo.org/runner/base_image)"
echo "${json}" | jq -r '.base_image'
# echo cyberdojo/docker-base:d6830c0@sha256:4be745df921403085fd2626b1013707352d81a1a943b2cc8c198300246d6f6f7
}

echo_env_vars()
Expand Down

0 comments on commit 15d6f3c

Please sign in to comment.