Skip to content

Commit

Permalink
Merge pull request #50 from step-security-bot/stepsecurity_remediatio…
Browse files Browse the repository at this point in the history
…n_1727866218

[StepSecurity] Apply security best practices
  • Loading branch information
dareste authored Oct 2, 2024
2 parents 307593a + 2643764 commit cc60936
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily

- package-ecosystem: gomod
directory: /
schedule:
interval: daily
10 changes: 5 additions & 5 deletions .github/workflows/release-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Set Release Version
run: echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: '1.22.4'

- name: Install Cosign
uses: sigstore/[email protected]
uses: sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0
with:
cosign-release: 'v2.4.0'

Expand Down Expand Up @@ -61,11 +61,11 @@ jobs:
--output-certificate="release/kubectl-nginx_supportpkg_${VERSION}_checksums.txt.pem" -y
- name: Upload release binaries
uses: alexellis/[email protected]
uses: alexellis/upload-assets@13926a61cdb2cb35f5fdef1c06b8b591523236d3 # 0.4.1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["./release/*.gz", "./release/*.txt", "./release/*.sig", "./release/*.pem"]'

- name: Update new version in krew-index
uses: rajatjindal/[email protected]
uses: rajatjindal/krew-release-bot@df3eb197549e3568be8b4767eec31c5e8e8e6ad8 # v0.0.46

0 comments on commit cc60936

Please sign in to comment.