Skip to content

Commit

Permalink
Feature: Bump ubuntu base image to focal-20231003
Browse files Browse the repository at this point in the history
Doing so adds support for `srcds/cs2` without breaking older games.
  • Loading branch information
joeltimothyoh committed Nov 9, 2023
1 parent e1b3d1b commit f854913
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f854913

Please sign in to comment.