diff --git a/.github/pipeline-version b/.github/pipeline-version index 34aae156b..359c41089 100644 --- a/.github/pipeline-version +++ b/.github/pipeline-version @@ -1 +1 @@ -1.31.0 +1.32.0 diff --git a/.github/workflows/pb-create-package.yml b/.github/workflows/pb-create-package.yml index fb6f1f071..7509f663b 100644 --- a/.github/workflows/pb-create-package.yml +++ b/.github/workflows/pb-create-package.yml @@ -25,7 +25,7 @@ jobs: username: ${{ secrets.PAKETO_BUILDPACKS_DOCKERHUB_USERNAME }} - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install create-package run: | #!/usr/bin/env bash @@ -70,7 +70,7 @@ jobs: "https://github.com/buildpacks/pack/releases/download/v${PACK_VERSION}/pack-v${PACK_VERSION}-linux.tgz" \ | tar -C "${HOME}"/bin -xz pack env: - PACK_VERSION: 0.27.0 + PACK_VERSION: 0.29.0 - name: Enable pack Experimental if: ${{ false }} run: | @@ -128,6 +128,13 @@ jobs: set -euo pipefail + # With Go 1.20, we need to set this so that we produce statically compiled binaries + # + # Starting with Go 1.20, Go will produce binaries that are dynamically linked against libc + # which can cause compatibility issues. The compiler links against libc on the build system + # but that may be newer than on the stacks we support. + export CGO_ENABLED=0 + if [[ "${INCLUDE_DEPENDENCIES}" == "true" ]]; then create-package \ --source ${SOURCE_PATH:-.} \ diff --git a/.github/workflows/pb-minimal-labels.yml b/.github/workflows/pb-minimal-labels.yml index 39c568eb1..75ea2ac2a 100644 --- a/.github/workflows/pb-minimal-labels.yml +++ b/.github/workflows/pb-minimal-labels.yml @@ -12,7 +12,7 @@ jobs: runs-on: - ubuntu-latest steps: - - uses: mheap/github-action-required-labels@v3 + - uses: mheap/github-action-required-labels@v4 with: count: 1 labels: semver:major, semver:minor, semver:patch @@ -22,7 +22,7 @@ jobs: runs-on: - ubuntu-latest steps: - - uses: mheap/github-action-required-labels@v3 + - uses: mheap/github-action-required-labels@v4 with: count: 1 labels: type:bug, type:dependency-upgrade, type:documentation, type:enhancement, type:question, type:task diff --git a/.github/workflows/pb-tests.yml b/.github/workflows/pb-tests.yml index fc8817911..4649e5c55 100644 --- a/.github/workflows/pb-tests.yml +++ b/.github/workflows/pb-tests.yml @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install create-package run: | #!/usr/bin/env bash @@ -43,7 +43,7 @@ jobs: "https://github.com/buildpacks/pack/releases/download/v${PACK_VERSION}/pack-v${PACK_VERSION}-linux.tgz" \ | tar -C "${HOME}"/bin -xz pack env: - PACK_VERSION: 0.27.0 + PACK_VERSION: 0.29.0 - name: Enable pack Experimental if: ${{ false }} run: | @@ -100,6 +100,13 @@ jobs: set -euo pipefail + # With Go 1.20, we need to set this so that we produce statically compiled binaries + # + # Starting with Go 1.20, Go will produce binaries that are dynamically linked against libc + # which can cause compatibility issues. The compiler links against libc on the build system + # but that may be newer than on the stacks we support. + export CGO_ENABLED=0 + if [[ "${INCLUDE_DEPENDENCIES}" == "true" ]]; then create-package \ --source ${SOURCE_PATH:-.} \ @@ -181,7 +188,7 @@ jobs: restore-keys: ${{ runner.os }}-go- - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install richgo run: | #!/usr/bin/env bash diff --git a/.github/workflows/pb-update-go.yml b/.github/workflows/pb-update-go.yml index bf5f2fa41..6436a8aea 100644 --- a/.github/workflows/pb-update-go.yml +++ b/.github/workflows/pb-update-go.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - uses: actions/checkout@v3 - name: Update Go Version & Modules id: update-go @@ -49,8 +49,8 @@ jobs: echo "commit-body=${COMMIT_BODY}" >> "$GITHUB_OUTPUT" echo "commit-semver=${COMMIT_SEMVER}" >> "$GITHUB_OUTPUT" env: - GO_VERSION: "1.18" - - uses: peter-evans/create-pull-request@v4 + GO_VERSION: "1.20" + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: |- diff --git a/.github/workflows/pb-update-jdk-11.yml b/.github/workflows/pb-update-jdk-11.yml index e0a0fd46a..c591c8397 100644 --- a/.github/workflows/pb-update-jdk-11.yml +++ b/.github/workflows/pb-update-jdk-11.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install update-buildpack-dependency run: | #!/usr/bin/env bash @@ -96,7 +96,7 @@ jobs: URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: 11\.[\d]+\.[\d]+ - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps `JDK 11` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. diff --git a/.github/workflows/pb-update-jdk-17.yml b/.github/workflows/pb-update-jdk-17.yml index e519eadbd..6478ae7d4 100644 --- a/.github/workflows/pb-update-jdk-17.yml +++ b/.github/workflows/pb-update-jdk-17.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install update-buildpack-dependency run: | #!/usr/bin/env bash @@ -96,7 +96,7 @@ jobs: URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: 17\.[\d]+\.[\d]+ - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps `JDK 17` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. diff --git a/.github/workflows/pb-update-jdk-20.yml b/.github/workflows/pb-update-jdk-20.yml index 6e4a2ea2b..619fd4a99 100644 --- a/.github/workflows/pb-update-jdk-20.yml +++ b/.github/workflows/pb-update-jdk-20.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install update-buildpack-dependency run: | #!/usr/bin/env bash @@ -96,7 +96,7 @@ jobs: URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: 20\.[\d]+\.[\d]+ - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps `JDK 20` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. diff --git a/.github/workflows/pb-update-jdk-8.yml b/.github/workflows/pb-update-jdk-8.yml index 8ba875779..2bfc7c570 100644 --- a/.github/workflows/pb-update-jdk-8.yml +++ b/.github/workflows/pb-update-jdk-8.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install update-buildpack-dependency run: | #!/usr/bin/env bash @@ -96,7 +96,7 @@ jobs: URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: ^8\.[\d]+\.[\d]+ - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps `JDK 8` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. diff --git a/.github/workflows/pb-update-jre-11.yml b/.github/workflows/pb-update-jre-11.yml index 15b580768..2125885ed 100644 --- a/.github/workflows/pb-update-jre-11.yml +++ b/.github/workflows/pb-update-jre-11.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install update-buildpack-dependency run: | #!/usr/bin/env bash @@ -96,7 +96,7 @@ jobs: URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: 11\.[\d]+\.[\d]+ - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps `JRE 11` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. diff --git a/.github/workflows/pb-update-jre-17.yml b/.github/workflows/pb-update-jre-17.yml index bf67ba112..9709a3674 100644 --- a/.github/workflows/pb-update-jre-17.yml +++ b/.github/workflows/pb-update-jre-17.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install update-buildpack-dependency run: | #!/usr/bin/env bash @@ -96,7 +96,7 @@ jobs: URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: 17\.[\d]+\.[\d]+ - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps `JRE 17` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. diff --git a/.github/workflows/pb-update-jre-20.yml b/.github/workflows/pb-update-jre-20.yml index 7b008c711..058c78ca9 100644 --- a/.github/workflows/pb-update-jre-20.yml +++ b/.github/workflows/pb-update-jre-20.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install update-buildpack-dependency run: | #!/usr/bin/env bash @@ -96,7 +96,7 @@ jobs: URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: 20\.[\d]+\.[\d]+ - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps `JRE 20` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. diff --git a/.github/workflows/pb-update-jre-8.yml b/.github/workflows/pb-update-jre-8.yml index 150c91565..d19053265 100644 --- a/.github/workflows/pb-update-jre-8.yml +++ b/.github/workflows/pb-update-jre-8.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install update-buildpack-dependency run: | #!/usr/bin/env bash @@ -96,7 +96,7 @@ jobs: URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: ^8\.[\d]+\.[\d]+ - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps `JRE 8` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. diff --git a/.github/workflows/pb-update-native-image-11.yml b/.github/workflows/pb-update-native-image-11.yml index 20e2b85b1..252046fed 100644 --- a/.github/workflows/pb-update-native-image-11.yml +++ b/.github/workflows/pb-update-native-image-11.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install update-buildpack-dependency run: | #!/usr/bin/env bash @@ -96,7 +96,7 @@ jobs: URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: 11\.[\d]+\.[\d]+ - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps `Native Image 11` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. diff --git a/.github/workflows/pb-update-native-image-17.yml b/.github/workflows/pb-update-native-image-17.yml index 449892bfb..c022d8baf 100644 --- a/.github/workflows/pb-update-native-image-17.yml +++ b/.github/workflows/pb-update-native-image-17.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install update-buildpack-dependency run: | #!/usr/bin/env bash @@ -96,7 +96,7 @@ jobs: URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: 17\.[\d]+\.[\d]+ - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps `Native Image 17` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. diff --git a/.github/workflows/pb-update-pipeline.yml b/.github/workflows/pb-update-pipeline.yml index d3f8972a2..cfe25277d 100644 --- a/.github/workflows/pb-update-pipeline.yml +++ b/.github/workflows/pb-update-pipeline.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.18" + go-version: "1.20" - name: Install octo run: | #!/usr/bin/env bash @@ -65,7 +65,7 @@ jobs: env: DESCRIPTOR: .github/pipeline-descriptor.yml GITHUB_TOKEN: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }} - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: |-