From a73fdc48d55aeb0479ad20515c6edacdeb82c25a Mon Sep 17 00:00:00 2001 From: paketo-bot Date: Thu, 27 Jun 2024 13:32:36 +0000 Subject: [PATCH] Updating github-config --- .github/workflows/create-draft-release.yml | 10 +++++----- .github/workflows/push-buildpackage.yml | 18 +++++++++--------- scripts/.util/tools.json | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/create-draft-release.yml b/.github/workflows/create-draft-release.yml index 62bf78c..8474cab 100644 --- a/.github/workflows/create-draft-release.yml +++ b/.github/workflows/create-draft-release.yml @@ -38,7 +38,7 @@ jobs: printf "builders=%s\n" "${builders}" >> "$GITHUB_OUTPUT" integration: - name: Integration Tests with Builders + name: Integration Tests runs-on: ubuntu-22.04 needs: unit strategy: @@ -50,10 +50,8 @@ jobs: uses: actions/setup-go@v3 with: go-version: 'stable' - - name: Checkout uses: actions/checkout@v3 - - name: Run Integration Tests run: ./scripts/integration.sh --builder ${{ matrix.builder }} --token ${{ github.token }} env: @@ -98,8 +96,10 @@ jobs: run: ./scripts/package.sh --version "${{ steps.tag.outputs.tag }}" - name: Create Release Notes id: create-release-notes - run: | - echo "release_body=No release notes yet - working on it" >> "$GITHUB_OUTPUT" + uses: paketo-buildpacks/github-config/actions/release/notes@main + with: + repo: ${{ github.repository }} + token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }} - name: Create Release uses: paketo-buildpacks/github-config/actions/release/create@main with: diff --git a/.github/workflows/push-buildpackage.yml b/.github/workflows/push-buildpackage.yml index 3886b35..f96478e 100644 --- a/.github/workflows/push-buildpackage.yml +++ b/.github/workflows/push-buildpackage.yml @@ -39,15 +39,15 @@ jobs: exit 1 fi - # - name: Push to GCR - # env: - # GCR_PUSH_BOT_JSON_KEY: ${{ secrets.GCR_PUSH_BOT_JSON_KEY }} - # run: | - # echo "${GCR_PUSH_BOT_JSON_KEY}" | sudo skopeo login --username _json_key --password-stdin gcr.io - # sudo skopeo copy "oci-archive:${GITHUB_WORKSPACE}/buildpackage.cnb" "docker://gcr.io/${{ github.repository }}:${{ steps.event.outputs.tag_full }}" - # sudo skopeo copy "oci-archive:${GITHUB_WORKSPACE}/buildpackage.cnb" "docker://gcr.io/${{ github.repository }}:${{ steps.event.outputs.tag_minor }}" - # sudo skopeo copy "oci-archive:${GITHUB_WORKSPACE}/buildpackage.cnb" "docker://gcr.io/${{ github.repository }}:${{ steps.event.outputs.tag_major }}" - # sudo skopeo copy "oci-archive:${GITHUB_WORKSPACE}/buildpackage.cnb" "docker://gcr.io/${{ github.repository }}:latest" + - name: Push to GCR + env: + GCR_PUSH_BOT_JSON_KEY: ${{ secrets.GCR_PUSH_BOT_JSON_KEY }} + run: | + echo "${GCR_PUSH_BOT_JSON_KEY}" | sudo skopeo login --username _json_key --password-stdin gcr.io + sudo skopeo copy "oci-archive:${GITHUB_WORKSPACE}/buildpackage.cnb" "docker://gcr.io/${{ github.repository }}:${{ steps.event.outputs.tag_full }}" + sudo skopeo copy "oci-archive:${GITHUB_WORKSPACE}/buildpackage.cnb" "docker://gcr.io/${{ github.repository }}:${{ steps.event.outputs.tag_minor }}" + sudo skopeo copy "oci-archive:${GITHUB_WORKSPACE}/buildpackage.cnb" "docker://gcr.io/${{ github.repository }}:${{ steps.event.outputs.tag_major }}" + sudo skopeo copy "oci-archive:${GITHUB_WORKSPACE}/buildpackage.cnb" "docker://gcr.io/${{ github.repository }}:latest" - name: Push to DockerHub id: push diff --git a/scripts/.util/tools.json b/scripts/.util/tools.json index 2d003a6..e2e977d 100644 --- a/scripts/.util/tools.json +++ b/scripts/.util/tools.json @@ -1,5 +1,5 @@ { "createpackage": "v1.70.0", - "jam": "v2.7.3", + "jam": "v2.8.0", "pack": "v0.34.2" }