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 bd3edc5..6b3ccba 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.0.4-${{ github.sha }} @@ -105,7 +105,7 @@ jobs: - name: 1.0.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.0.4 platforms: linux/386,linux/amd64,linux/arm64 @@ -119,7 +119,7 @@ jobs: - name: 1.0.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.0.4 platforms: linux/386,linux/amd64,linux/arm64 @@ -132,7 +132,7 @@ jobs: - name: 1.0.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.0.4 platforms: linux/386,linux/amd64,linux/arm64 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 0999b52..d65c283 100644 --- a/generate/templates/.github/workflows/ci-master-pr.yml.ps1 +++ b/generate/templates/.github/workflows/ci-master-pr.yml.ps1 @@ -48,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: | @@ -72,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 }} @@ -121,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 ',' ) @@ -135,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 ',' ) @@ -148,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 ',' )