Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Fix #32 again, since yq arguments have changed #34

Merged
merged 1 commit into from
Sep 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/base-csgo-image-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,8 @@ jobs:
git checkout -b actions/bump-base-csgo-image-tag

# Replace base-csgo image tag
cat docker-compose.yml | yq -M -y '.services."base-csgo".build.args.STEAMRT_PLATFORM_VERSION = "${CI_PR_NEW_BASE_CSGO_IMAGE_TAG}"' > docker-compose-new.yml
rm -rf docker-compose.yml
mv docker-compose-new.yml docker-compose.yml

yq -i '.services."base-csgo".build.args.STEAMRT_PLATFORM_VERSION = "${CI_PR_NEW_BASE_CSGO_IMAGE_TAG}"' docker-compose.yml

# Add, commit and push changes to the branch
git add docker-compose.yml
git commit -m "Bump base-csgo image tag to ${CI_PR_NEW_BASE_CSGO_IMAGE_TAG}"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/base-legacy-image-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ jobs:
git checkout -b actions/bump-base-legacy-image-tag

# Replace base-legacy image tag
cat docker-compose.yml | yq -M -y '.services."base-legacy".build.args.STEAMRT_PLATFORM_VERSION = "${CI_PR_NEW_BASE_LEGACY_IMAGE_TAG}"' > docker-compose-new.yml
rm -rf docker-compose.yml
mv docker-compose-new.yml docker-compose.yml
yq -i '.services."base-legacy".build.args.STEAMRT_PLATFORM_VERSION = "${CI_PR_NEW_BASE_LEGACY_IMAGE_TAG}"' docker-compose.yml

# Add, commit and push changes to the branch
git add docker-compose.yml
Expand Down