add buildah
Some checks failed
Build Container and update Flux / Explore-Gitea-Actions (push) Failing after 6s
Some checks failed
Build Container and update Flux / Explore-Gitea-Actions (push) Failing after 6s
This commit is contained in:
parent
4fb21c94ad
commit
26c7e2bd90
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
||||||
|
|
||||||
# now fix up the images in k/runner.yaml
|
# now fix up the images in k/runner.yaml
|
||||||
sed -i -e "s@image: $DOCKER_REGISTRY/$GITHUB_REPOSITORY:.*@image: $DOCKER_REGISTRY/$GITHUB_REPOSITORY:$STAG@" "k/$DEPLOY_MANIFEST"
|
sed -i -e "s@image: $DOCKER_REGISTRY/$GITHUB_REPOSITORY:.*@image: $DOCKER_REGISTRY/$GITHUB_REPOSITORY:$STAG@" "k/$DEPLOY_MANIFEST"
|
||||||
sed -i -e "s@branch: .*@$KBRANCH@" "k/$FLUX_MANIFEST"
|
sed -i -e "s@branch: .*$@branch: $KBRANCH@" "k/$FLUX_MANIFEST"
|
||||||
|
|
||||||
git add k
|
git add k
|
||||||
git commit -m "upgrade runner sts to $STAG"
|
git commit -m "upgrade runner sts to $STAG"
|
||||||
|
@ -49,7 +49,7 @@ jobs:
|
||||||
# now let's fix the origin branch's flux.yaml if it's needed.
|
# now let's fix the origin branch's flux.yaml if it's needed.
|
||||||
# this will only happen once so it's not such an awful UX.
|
# this will only happen once so it's not such an awful UX.
|
||||||
git checkout "$BRANCH"
|
git checkout "$BRANCH"
|
||||||
sed -i -e "s@branch: .*@$KBRANCH@" "k/$FLUX_MANIFEST"
|
sed -i -e "s@branch: .*$@branch: $KBRANCH@" "k/$FLUX_MANIFEST"
|
||||||
|
|
||||||
if git diff | grep -q .;then
|
if git diff | grep -q .;then
|
||||||
echo fixing branch in flux.yaml of the origin branch
|
echo fixing branch in flux.yaml of the origin branch
|
||||||
|
|
|
@ -6,6 +6,7 @@ RUN apk add \
|
||||||
nodejs \
|
nodejs \
|
||||||
tea \
|
tea \
|
||||||
curl \
|
curl \
|
||||||
|
buildah \
|
||||||
--no-cache
|
--no-cache
|
||||||
|
|
||||||
USER rootless
|
USER rootless
|
||||||
|
|
Loading…
Reference in New Issue
Block a user