change to k-branches
Some checks failed
Github Actions Demo / Explore-Gitea-Actions (push) Failing after 37s
Some checks failed
Github Actions Demo / Explore-Gitea-Actions (push) Failing after 37s
the history changing on every commit felt very yucky.
This commit is contained in:
parent
bfb82dddcf
commit
554d74e3ca
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
|
@ -21,9 +21,13 @@ 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
|
||||||
|
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@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
|
||||||
git commit -m "upgrade runner sts to $STAG"
|
git commit -m "upgrade runner sts to $STAG"
|
||||||
git push
|
git push -f
|
||||||
|
|
|
@ -8,7 +8,7 @@ spec:
|
||||||
interval: 5m
|
interval: 5m
|
||||||
url: https://git.strudelline.net/cascade/docker-act_runner
|
url: https://git.strudelline.net/cascade/docker-act_runner
|
||||||
ref:
|
ref:
|
||||||
branch: main
|
branch: k-main
|
||||||
---
|
---
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
Loading…
Reference in New Issue
Block a user