add bash to test
All checks were successful
Build Container and update Flux / Explore-Gitea-Actions (push) Successful in 6s
All checks were successful
Build Container and update Flux / Explore-Gitea-Actions (push) Successful in 6s
This commit is contained in:
parent
aa6c9021b8
commit
07f1d62588
9
.github/workflows/build.yaml
vendored
9
.github/workflows/build.yaml
vendored
|
@ -1,10 +1,13 @@
|
||||||
name: Github Actions Demo
|
name: Build Container and update Flux
|
||||||
run-name: ${{ github.actor }} is testing out GitHub Actions (on Gitea) 🚀
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- k/**
|
- k/**
|
||||||
|
|
||||||
|
env:
|
||||||
|
DEPLOY_MANIFEST: "${{ vars.DEPLOY_MANIFEST || 'deploy.yaml' }}"
|
||||||
|
FLUX_MANIFEST: "${{ vars.FLUX_MANIFEST || 'flux.yaml' }}"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: metal-docker
|
runs-on: metal-docker
|
||||||
|
@ -12,6 +15,8 @@ jobs:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- run: |
|
- run: |
|
||||||
|
echo "deploy: ${DEPLOY_MANIFEST}"
|
||||||
|
echo "flux: ${FLUX_MANIFEST}"
|
||||||
ls -la
|
ls -la
|
||||||
docker build --progress plain --iidfile iid.txt .
|
docker build --progress plain --iidfile iid.txt .
|
||||||
stringprefix() { [ ${#1} -le $2 ] && echo $1 && return 0 || stringprefix "${1%?}" $2 ; }
|
stringprefix() { [ ${#1} -le $2 ] && echo $1 && return 0 || stringprefix "${1%?}" $2 ; }
|
||||||
|
|
|
@ -6,6 +6,7 @@ RUN apk add \
|
||||||
nodejs \
|
nodejs \
|
||||||
tea \
|
tea \
|
||||||
curl \
|
curl \
|
||||||
|
bash \
|
||||||
--no-cache
|
--no-cache
|
||||||
|
|
||||||
USER rootless
|
USER rootless
|
||||||
|
|
Loading…
Reference in New Issue
Block a user