add bash to test
All checks were successful
Build Container and update Flux / Explore-Gitea-Actions (push) Successful in 6s

This commit is contained in:
James Andariese 2024-03-28 22:46:40 -05:00
parent aa6c9021b8
commit 07f1d62588
2 changed files with 8 additions and 2 deletions

View File

@ -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 ; }

View File

@ -6,6 +6,7 @@ RUN apk add \
nodejs \ nodejs \
tea \ tea \
curl \ curl \
bash \
--no-cache --no-cache
USER rootless USER rootless