From 5493345a0e5d93a332fb9d23b1f45108717d4cf4 Mon Sep 17 00:00:00 2001 From: James Andariese Date: Thu, 28 Mar 2024 22:46:40 -0500 Subject: [PATCH] add bash to test --- .github/workflows/build.yaml | 10 ++++++++-- Dockerfile | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d93393e..3c503e9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,10 +1,14 @@ -name: Github Actions Demo -run-name: ${{ github.actor }} is testing out GitHub Actions (on Gitea) 🚀 +name: Build Container and update Flux on: push: paths-ignore: - k/** + +env: + DEPLOY_MANIFEST: "${{ vars.DEPLOY_MANIFEST || 'deploy.yaml' }}" + FLUX_MANIFEST: "${{ vars.FLUX_MANIFEST || 'flux.yaml' }}" + jobs: Explore-Gitea-Actions: runs-on: metal-docker @@ -12,6 +16,8 @@ jobs: - name: Check out repository code uses: actions/checkout@v3 - run: | + echo "deploy: ${DEPLOY_MANIFEST}" + echo "flux: ${FLUX_MANIFEST}" ls -la docker build --progress plain --iidfile iid.txt . stringprefix() { [ ${#1} -le $2 ] && echo $1 && return 0 || stringprefix "${1%?}" $2 ; } diff --git a/Dockerfile b/Dockerfile index 2c19864..6133b30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ RUN apk add \ nodejs \ tea \ curl \ + bash \ --no-cache USER rootless