diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 842fd250..d1008181 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,4 +1,3 @@ -# name: Lint on: diff --git a/.github/workflows/publish-releases.yml b/.github/workflows/publish-releases.yml index 4e6e5a56..4f857198 100644 --- a/.github/workflows/publish-releases.yml +++ b/.github/workflows/publish-releases.yml @@ -38,4 +38,4 @@ jobs: issue_body: | Publish All Draft Releases workflow [failed](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}). comment_body: | - Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} + Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} \ No newline at end of file diff --git a/.github/workflows/push-buildpackage.yml b/.github/workflows/push-buildpackage.yml index ba3e0289..cc848783 100644 --- a/.github/workflows/push-buildpackage.yml +++ b/.github/workflows/push-buildpackage.yml @@ -5,6 +5,10 @@ on: types: - published +permissions: + id-token: write + contents: read + jobs: push: name: Push @@ -39,6 +43,7 @@ jobs: exit 1 fi + - name: Push to DockerHub id: push env: diff --git a/.github/workflows/synchronize-labels.yml b/.github/workflows/synchronize-labels.yml index 60a6be95..3aaa0177 100644 --- a/.github/workflows/synchronize-labels.yml +++ b/.github/workflows/synchronize-labels.yml @@ -1,4 +1,3 @@ -# sync name: Synchronize Labels "on": push: diff --git a/.github/workflows/test-pull-request.yml b/.github/workflows/test-pull-request.yml index 27689848..6574ff7c 100644 --- a/.github/workflows/test-pull-request.yml +++ b/.github/workflows/test-pull-request.yml @@ -6,7 +6,7 @@ on: - main concurrency: - # only one instance of test suite per PR at one time - + # only one instance of test suite per PR at one time group: pr-${{ github.event.number }} cancel-in-progress: true diff --git a/.github/workflows/update-dependencies-from-metadata.yml b/.github/workflows/update-dependencies-from-metadata.yml index 5ed1bed0..1b25cff6 100644 --- a/.github/workflows/update-dependencies-from-metadata.yml +++ b/.github/workflows/update-dependencies-from-metadata.yml @@ -221,21 +221,6 @@ jobs: echo "artifact-file=$(basename ./*.tgz)" >> "$GITHUB_OUTPUT" echo "checksum-file=$(basename ./*.tgz.checksum)" >> "$GITHUB_OUTPUT" - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v2 - with: - aws-access-key-id: ${{ secrets.AWS_S3_DEPENDENCIES_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_S3_DEPENDENCIES_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - - name: Upload to S3 - id: upload - uses: initializ-buildpacks/github-config/actions/dependency/upload-to-s3@main - with: - bucket-name: "initializ-buildpacks" - dependency-name: ${{ needs.retrieve.outputs.id }} - artifact-path: ${{ steps.get-file-names.outputs.artifact-file }} - - name: Get Checksum id: get-checksum run: echo "checksum=$(cat ${{ steps.get-file-names.outputs.checksum-file }})" >> "$GITHUB_OUTPUT" @@ -282,7 +267,7 @@ jobs: - name: Checkout Branch uses: initializ-buildpacks/github-config/actions/pull-request/checkout-branch@main with: - branch: automation/dependencies/update-from-metadata + branch: automations/dependencies/update-from-metadata - name: Make Temporary Artifact Directory id: make-outputdir @@ -315,11 +300,11 @@ jobs: keyid: ${{ secrets.INITIALIZ_BOT_GPG_SIGNING_KEY_ID }} key: ${{ secrets.INITIALIZ_BOT_GPG_SIGNING_KEY }} - - name: Push Branch 'automation/dependencies/update-from-metadata' + - name: Push Branch 'automations/dependencies/update-from-metadata' if: ${{ steps.commit.outputs.commit_sha != '' }} uses: initializ-buildpacks/github-config/actions/pull-request/push-branch@main with: - branch: automation/dependencies/update-from-metadata + branch: automations/dependencies/update-from-metadata - name: Open Pull Request if: ${{ steps.commit.outputs.commit_sha != '' }} @@ -327,7 +312,7 @@ jobs: with: token: ${{ secrets.PAT }} title: "Updates buildpack.toml with ${{ steps.update.outputs.new-versions }}" - branch: automation/buildpack.toml/update-from-metadata + branch: automations/buildpack.toml/update-from-metadata failure: name: Alert on Failure diff --git a/.github/workflows/update-github-config.yml b/.github/workflows/update-github-config.yml index 08073006..9e36c0d6 100644 --- a/.github/workflows/update-github-config.yml +++ b/.github/workflows/update-github-config.yml @@ -27,7 +27,7 @@ jobs: - name: Checkout Branch uses: initializ-buildpacks/github-config/actions/pull-request/checkout-branch@main with: - branch: automation/github-config/update + branch: automations/github-config/update - name: Run the sync action uses: initializ-buildpacks/github-config/actions/sync@main @@ -51,7 +51,7 @@ jobs: if: ${{ steps.commit.outputs.commit_sha != '' }} uses: initializ-buildpacks/github-config/actions/pull-request/push-branch@main with: - branch: automation/github-config/update + branch: automations/github-config/update - name: Open Pull Request if: ${{ steps.commit.outputs.commit_sha != '' }} @@ -59,7 +59,7 @@ jobs: with: token: ${{ secrets.PAT }} title: "Updates github-config" - branch: automation/github-config/update + branch: automations/github-config/update failure: name: Alert on Failure diff --git a/.github/workflows/update-go-mod-version.yml b/.github/workflows/update-go-mod-version.ym similarity index 98% rename from .github/workflows/update-go-mod-version.yml rename to .github/workflows/update-go-mod-version.ym index 87372880..35455acf 100644 --- a/.github/workflows/update-go-mod-version.yml +++ b/.github/workflows/update-go-mod-version.ym @@ -90,4 +90,4 @@ jobs: issue_body: | Update Go Mod Version workflow [failed](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}). comment_body: | - Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} + Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} \ No newline at end of file diff --git a/scripts/.util/builders.sh b/scripts/.util/builders.sh index a4b3e9a8..fd2a9b39 100644 --- a/scripts/.util/builders.sh +++ b/scripts/.util/builders.sh @@ -19,7 +19,7 @@ function util::builders::list() { if [[ -z "${builders}" ]]; then util::print::info "No builders specified. Falling back to default builder..." - builders="$(jq --compact-output --null-input '["index.docker.io/paketobuildpacks/builder-jammy-buildpackless-base:latest"]')" + builders="$(jq --compact-output --null-input '["index.docker.io/initializbuildpacks/securepacks-initzbuilder:latest"]')" fi echo "${builders}" diff --git a/scripts/.util/tools.sh b/scripts/.util/tools.sh index 801e6acb..547808de 100644 --- a/scripts/.util/tools.sh +++ b/scripts/.util/tools.sh @@ -235,4 +235,4 @@ function util::tools::tests::checkfocus() { util::print::success "** GO Test Succeeded **" 197 fi rm "${testout}" -} +} \ No newline at end of file diff --git a/scripts/build.sh b/scripts/build.sh index c6e1413e..f6036040 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -99,4 +99,4 @@ function cmd::build() { fi } -main "${@:-}" +main "${@:-}" \ No newline at end of file