From f854913584cfebcb2e5bde233b2685ff572e79af Mon Sep 17 00:00:00 2001 From: Joel Timothy Oh Date: Thu, 9 Nov 2023 12:05:52 +0000 Subject: [PATCH] Feature: Bump ubuntu base image to `focal-20231003` Doing so adds support for `srcds/cs2` without breaking older games. --- .github/workflows/ci-master-pr.yml | 4 ++-- build.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-master-pr.yml b/.github/workflows/ci-master-pr.yml index ecde52f..c5fadfb 100644 --- a/.github/workflows/ci-master-pr.yml +++ b/.github/workflows/ci-master-pr.yml @@ -17,10 +17,10 @@ jobs: strategy: matrix: BASE_IMAGE_NAME: [ubuntu] - BASE_IMAGE_TAG: [xenial-20181005] + BASE_IMAGE_TAG: [focal-20231003] BUILD_IMAGE_VARIANT: [git, minimal] include: - - BASE_IMAGE_TAG: xenial-20181005 + - BASE_IMAGE_TAG: focal-20231003 BUILD_IMAGE_VARIANT: git TAG_LATEST: true env: diff --git a/build.sh b/build.sh index 2aa3914..de2e2f6 100755 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ ## build variables ## # BASE_REGISTRY_NAMESPACE=library # string - base image user or organization namespace - required # BASE_IMAGE_NAME=ubuntu # string - OS image namespace - required -# BASE_IMAGE_TAG=xenial-20181005 # string - OS image tag - required +# BASE_IMAGE_TAG=focal-20231003 # string - OS image tag - required # BUILD_REGISTRY_NAMESPACE=startersclan # string - build image user or organization namespace - required # BUILD_IMAGE_NAME=steamcmd # string - build image namespace - required # BUILD_IMAGE_VARIANT=git # string - variant to build - required @@ -112,6 +112,7 @@ docker history "$BUILD_IMAGE" # Test the image docker run -t --rm --entrypoint /bin/sh "$BUILD_IMAGE" -c 'printenv && ls -al && exec steamcmd.sh +login anonymous +quit' +echo 1 # Push the image if [ -n "$RELEASE_TAG_REF" ]; then