change to k-branches
All checks were successful
Github Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
All checks were successful
Github Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
the history changing on every commit felt very yucky.
This commit is contained in:
parent
5b5c11844f
commit
9ba8c8f829
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
|
@ -21,9 +21,14 @@ jobs:
|
|||
docker tag "`cat iid.txt`" "$DOCKER_REGISTRY/$GITHUB_REPOSITORY:$TAG"
|
||||
docker push "$DOCKER_REGISTRY/$GITHUB_REPOSITORY:$TAG"
|
||||
done
|
||||
git checkout -B k-$GITHUB_REF_NAME
|
||||
git checkout $GITHUB_REF_NAME
|
||||
git branch -D k-$GITHUB_REF_NAME
|
||||
git checkout -b k-$GITHUB_REF_NAME
|
||||
sed -i -e "s@image: $DOCKER_REGISTRY/$GITHUB_REPOSITORY:.*@image: $DOCKER_REGISTRY/$GITHUB_REPOSITORY:$STAG@" k/runner.yaml
|
||||
sed -i -e "s@branch: .*@k-$GITHUB_REF_NAME@" k/flux.yaml
|
||||
git config user.name "$GITHUB_REPOSITORY (act)"
|
||||
git config user.email "gitea-actions@strudelline.net"
|
||||
git add k/runner.yaml
|
||||
git commit -m "upgrade runner sts to $STAG"
|
||||
git push
|
||||
git push -f origin k-$GITHUB_REF_NAME
|
||||
|
|
|
@ -8,7 +8,7 @@ spec:
|
|||
interval: 5m
|
||||
url: https://git.strudelline.net/cascade/docker-act_runner
|
||||
ref:
|
||||
branch: main
|
||||
branch: k-main
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
|
Loading…
Reference in New Issue
Block a user