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.
This commit is contained in:
parent
a6724a86f7
commit
2859447ed9
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
||||||
docker tag "`cat iid.txt`" "$DOCKER_REGISTRY/$GITHUB_REPOSITORY:$TAG"
|
docker tag "`cat iid.txt`" "$DOCKER_REGISTRY/$GITHUB_REPOSITORY:$TAG"
|
||||||
docker push "$DOCKER_REGISTRY/$GITHUB_REPOSITORY:$TAG"
|
docker push "$DOCKER_REGISTRY/$GITHUB_REPOSITORY:$TAG"
|
||||||
done
|
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.name "$GITHUB_REPOSITORY (act)"
|
||||||
git config user.email "gitea-actions@strudelline.net"
|
git config user.email "gitea-actions@strudelline.net"
|
||||||
git add k/runner.yaml
|
git add k/runner.yaml
|
||||||
|
|
Loading…
Reference in New Issue
Block a user