Skip to content

Commit

Permalink
Update containers.build.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Kjeld Schouten <[email protected]>
  • Loading branch information
PrivatePuffin authored Oct 17, 2024
1 parent b6b5071 commit f538171
Showing 1 changed file with 6 additions and 28 deletions.
34 changes: 6 additions & 28 deletions .github/workflows/containers.build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Containers: Test-and-Build"

on:
workflow_call:
workflow_dispatch:
push:
branches:
Expand All @@ -9,11 +10,11 @@ on:
- "containers/apps/**"
- "containers/base/**"
- ".github/workflows/containers.build.yaml"
pull_request:
paths:
- "apps/**"
- "base/**"
- ".github/workflows/containers.build.yaml"
# pull_request:
# paths:
# - "apps/**"
# - "base/**"
# - ".github/workflows/containers.build.yaml"

env:
# How long to sleep before running the tests (gives the application time to start)
Expand Down Expand Up @@ -152,15 +153,6 @@ jobs:
echo ::set-output name=cache_to::"type=registry,ref=ghcr.io/truecharts/${{ matrix.container }}:buildcache,mode=max"
fi
- name: Commit and Push Housekeeping
run: |
git config user.name "TrueCharts-Bot"
git config user.email "[email protected]"
# add only VERSION and BASE files
git add ./containers/apps/${{ matrix.container }}/VERSION ./containers/apps/${{ matrix.container }}/BASE || true
git commit -sm "Update ${{ matrix.container }} version file" || exit 0
git push
- name: Get Time
id: time
uses: nanzm/get-time-action@887e4db9af58ebae64998b7105921b816af77977 # v2.0
Expand Down Expand Up @@ -336,17 +328,3 @@ jobs:
steps:
- name: complete message
run: echo "Container Build and Tests Completed Successfully"

automerge:
needs: [container-build-complete]
if: github.event_name == 'pull_request'
name: Automerge build
runs-on: ubuntu-latest
steps:
- name: automerge
uses: pascalgn/automerge-action@7961b8b5eec56cc088c140b56d864285eabd3f67 # v0.16.4
continue-on-error: true
env:
GITHUB_TOKEN: "${{ secrets.BOT_TOKEN }}"
UPDATE_RETRIES: 12
UPDATE_RETRY_SLEEP: 60000

0 comments on commit f538171

Please sign in to comment.