diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d93393e..a64641e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,10 +1,13 @@ -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 +15,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