From 2859447ed959739c5776ca0c717bdf7c16a18fdc Mon Sep 17 00:00:00 2001 From: James Andariese Date: Thu, 28 Mar 2024 21:42:40 -0500 Subject: [PATCH] be more judicious in string replacements init script broke because the image was alpine for that container and this repo's image for the primary container. the sed replacement clobbered both, rendering the init inoperable. --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 993331c..fea9260 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,7 +21,7 @@ jobs: docker tag "`cat iid.txt`" "$DOCKER_REGISTRY/$GITHUB_REPOSITORY:$TAG" docker push "$DOCKER_REGISTRY/$GITHUB_REPOSITORY:$TAG" done - sed -i -e "s@image: .*@image: $DOCKER_REGISTRY/$GITHUB_REPOSITORY:$STAG@" k/runner.yaml + sed -i -e "s@image: $DOCKER_REGISTRY/$GITHUB_REPOSITORY:.*@image: $DOCKER_REGISTRY/$GITHUB_REPOSITORY:$STAG@" k/runner.yaml git config user.name "$GITHUB_REPOSITORY (act)" git config user.email "gitea-actions@strudelline.net" git add k/runner.yaml