diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 47decfd..e7302d8 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -60,6 +60,7 @@ jobs: amd64-builder: "ubuntu-latest-8x" dev-versions: "exclude" matrix-versions: "exclude" + recent: 3 development: name: Development diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 949c7d8..a7556ff 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -58,9 +58,7 @@ jobs: build: name: Build - # Build all images, excluding dev versions. - # - # Builds all versions of each image in parallel. + # Build the three most recent release versions, excluding dev versions. # # Run on merges to main, or on weekly scheduled re-builds. needs: @@ -83,6 +81,7 @@ jobs: amd64-builder: "ubuntu-latest-8x" dev-versions: "exclude" matrix-versions: "exclude" + recent: 3 # Push images only for merges into main and weekly schduled re-builds. push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' }}