add bash to test
All checks were successful
Build Container and update Flux / Explore-Gitea-Actions (push) Successful in 21s
All checks were successful
Build Container and update Flux / Explore-Gitea-Actions (push) Successful in 21s
This commit is contained in:
parent
aa6c9021b8
commit
5493345a0e
10
.github/workflows/build.yaml
vendored
10
.github/workflows/build.yaml
vendored
|
@ -1,10 +1,14 @@
|
||||||
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 +16,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