diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 80c8b7b..1c833d6 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -4,7 +4,11 @@ categories: - title: '🚀 Features' labels: - 'feature' + - title: '✨ Enhancements' + labels: - 'enhancement' + - title: '🎚 Change' + labels: - 'change' - title: '🐛 Bug Fixes' labels: diff --git a/.github/workflows/ci-master-pr.yml b/.github/workflows/ci-master-pr.yml index 0128488..7b2bf4c 100644 --- a/.github/workflows/ci-master-pr.yml +++ b/.github/workflows/ci-master-pr.yml @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -61,7 +61,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.11.1-${{ github.sha }} @@ -105,7 +105,7 @@ jobs: - name: 1.11.1 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.11.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -119,7 +119,7 @@ jobs: - name: 1.11.1 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.11.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -132,7 +132,7 @@ jobs: - name: 1.11.1 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.11.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -157,7 +157,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -181,7 +181,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.10.1-${{ github.sha }} @@ -225,7 +225,7 @@ jobs: - name: 1.10.1 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.10.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -239,7 +239,7 @@ jobs: - name: 1.10.1 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.10.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -252,7 +252,7 @@ jobs: - name: 1.10.1 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.10.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -276,7 +276,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -300,7 +300,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.9.4-${{ github.sha }} @@ -344,7 +344,7 @@ jobs: - name: 1.9.4 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.9.4 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -358,7 +358,7 @@ jobs: - name: 1.9.4 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.9.4 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -371,7 +371,7 @@ jobs: - name: 1.9.4 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.9.4 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -395,7 +395,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -419,7 +419,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.8.7-${{ github.sha }} @@ -463,7 +463,7 @@ jobs: - name: 1.8.7 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.8.7 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -477,7 +477,7 @@ jobs: - name: 1.8.7 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.8.7 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -490,7 +490,7 @@ jobs: - name: 1.8.7 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.8.7 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -514,7 +514,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -538,7 +538,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.7.1-${{ github.sha }} @@ -582,7 +582,7 @@ jobs: - name: 1.7.1 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.7.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -596,7 +596,7 @@ jobs: - name: 1.7.1 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.7.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -609,7 +609,7 @@ jobs: - name: 1.7.1 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.7.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -633,7 +633,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -657,7 +657,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.6.9-${{ github.sha }} @@ -701,7 +701,7 @@ jobs: - name: 1.6.9 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.6.9 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -715,7 +715,7 @@ jobs: - name: 1.6.9 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.6.9 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -728,7 +728,7 @@ jobs: - name: 1.6.9 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.6.9 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -752,7 +752,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -776,7 +776,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.5.2-${{ github.sha }} @@ -820,7 +820,7 @@ jobs: - name: 1.5.2 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.5.2 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -834,7 +834,7 @@ jobs: - name: 1.5.2 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.5.2 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -847,7 +847,7 @@ jobs: - name: 1.5.2 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.5.2 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -871,7 +871,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -895,7 +895,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.4.0-${{ github.sha }} @@ -939,7 +939,7 @@ jobs: - name: 1.4.0 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.4.0 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -953,7 +953,7 @@ jobs: - name: 1.4.0 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.4.0 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -966,7 +966,7 @@ jobs: - name: 1.4.0 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.4.0 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -990,7 +990,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -1014,7 +1014,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.3.1-${{ github.sha }} @@ -1058,7 +1058,7 @@ jobs: - name: 1.3.1 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.3.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1072,7 +1072,7 @@ jobs: - name: 1.3.1 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.3.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1085,7 +1085,7 @@ jobs: - name: 1.3.1 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.3.1 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1109,7 +1109,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -1133,7 +1133,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.2.6-${{ github.sha }} @@ -1177,7 +1177,7 @@ jobs: - name: 1.2.6 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.2.6 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1191,7 +1191,7 @@ jobs: - name: 1.2.6 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.2.6 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1204,7 +1204,7 @@ jobs: - name: 1.2.6 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.2.6 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1228,7 +1228,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -1252,7 +1252,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.1.4-${{ github.sha }} @@ -1296,7 +1296,7 @@ jobs: - name: 1.1.4 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.1.4 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1310,7 +1310,7 @@ jobs: - name: 1.1.4 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.1.4 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1323,7 +1323,7 @@ jobs: - name: 1.1.4 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.1.4 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1347,7 +1347,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -1371,7 +1371,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-1.0.6-${{ github.sha }} @@ -1415,7 +1415,7 @@ jobs: - name: 1.0.6 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.0.6 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1429,7 +1429,7 @@ jobs: - name: 1.0.6 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.0.6 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1442,7 +1442,7 @@ jobs: - name: 1.0.6 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/1.0.6 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1466,7 +1466,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -1490,7 +1490,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-0.9.10-${{ github.sha }} @@ -1534,7 +1534,7 @@ jobs: - name: 0.9.10 - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/0.9.10 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1548,7 +1548,7 @@ jobs: - name: 0.9.10 - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/0.9.10 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x @@ -1561,7 +1561,7 @@ jobs: - name: 0.9.10 - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: variants/0.9.10 platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x diff --git a/generate/definitions/FILES.ps1 b/generate/definitions/FILES.ps1 index 1ef7df4..fa89ad5 100755 --- a/generate/definitions/FILES.ps1 +++ b/generate/definitions/FILES.ps1 @@ -2,6 +2,5 @@ $FILES = @( '.github/workflows/ci-master-pr.yml' '.github/workflows/cron.yml' - '.github/release-drafter.yml' 'README.md' ) diff --git a/generate/templates/.github/release-drafter.yml.ps1 b/generate/templates/.github/release-drafter.yml.ps1 deleted file mode 100644 index 9cb863e..0000000 --- a/generate/templates/.github/release-drafter.yml.ps1 +++ /dev/null @@ -1,52 +0,0 @@ -@' -name-template: 'v$RESOLVED_VERSION 🌈' -tag-template: 'v$RESOLVED_VERSION' -categories: - - title: '🚀 Features' - labels: - - 'feature' - - 'enhancement' - - 'change' - - title: '🐛 Bug Fixes' - labels: - - 'fix' - - 'bug' - - title: '🖊️ Refactors' - labels: - - 'refactor' - - title: '👗 Style' - labels: - - 'style' - - title: '📝 Documentation' - labels: - - 'docs' - - 'documentation' - - title: '🧰 Maintenance' - label: 'chore' -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' -version-resolver: - major: - labels: - - 'breaking' - minor: - labels: - - 'feature' - - 'enhancement' - - 'change' - - 'refactor' - patch: - labels: - - 'fix' - - 'bug' - - 'style' - - 'docs' - - 'documentation' - - 'chore' - default: patch -sort-by: title -template: | - ## Changes - - $CHANGES - -'@ diff --git a/generate/templates/.github/workflows/ci-master-pr.yml.ps1 b/generate/templates/.github/workflows/ci-master-pr.yml.ps1 index 9be7359..d65c283 100644 --- a/generate/templates/.github/workflows/ci-master-pr.yml.ps1 +++ b/generate/templates/.github/workflows/ci-master-pr.yml.ps1 @@ -36,7 +36,9 @@ jobs: '@ # Group variants by the package version -$groups = $VARIANTS | Group-Object -Property { $_['_metadata']['job_group_key'] } | Sort-Object { [version]$_.Name.Split('-')[0] } -Descending +$groups = @( + $VARIANTS | Group-Object -Property { $_['_metadata']['job_group_key'] } | Sort-Object { [version]$_.Name.Split('-')[0] } -Descending +) $WORKFLOW_JOB_NAMES = $groups | % { "build-$( $_.Name.Replace('.', '-') )" } foreach ($g in $groups) { @" @@ -46,7 +48,7 @@ foreach ($g in $groups) { runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Display system info (linux) run: | @@ -70,7 +72,7 @@ foreach ($g in $groups) { uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: `${{ runner.os }}-buildx-$( $g.Name )-`${{ github.sha }} @@ -119,7 +121,7 @@ foreach ($v in $g.Group) { - name: $( $v['tag' ] ) - Build (PRs) # Run only on pull requests if: github.event_name == 'pull_request' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: $( $v['build_dir_rel'] ) platforms: $( $v['_metadata']['platforms'] -join ',' ) @@ -133,7 +135,7 @@ foreach ($v in $g.Group) { - name: $( $v['tag' ] ) - Build and push (master) # Run only on master if: github.ref == 'refs/heads/master' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: $( $v['build_dir_rel'] ) platforms: $( $v['_metadata']['platforms'] -join ',' ) @@ -146,7 +148,7 @@ foreach ($v in $g.Group) { - name: $( $v['tag' ] ) - Build and push (release) if: startsWith(github.ref, 'refs/tags/') - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: $( $v['build_dir_rel'] ) platforms: $( $v['_metadata']['platforms'] -join ',' )