Skip to content

Commit

Permalink
ci: disabled attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Jun 22, 2024
1 parent 973c5c6 commit 0803c29
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: 'dist/mywhoop_*.zip'
# - name: Generate artifact attestation
# uses: actions/attest-build-provenance@v1
# with:
# subject-path: 'dist/mywhoop_*.zip'


Docker:
Expand Down Expand Up @@ -139,10 +139,10 @@ jobs:
build-args: |
VERSION=${{ needs.tag.outputs.VERSION }}
- name: Generate SBOM attestation
uses: actions/attest-sbom@v1
with:
subject-name: ${{ github.repository }}
subject-digest: ${{ steps.build-and-push.outputs.digest }}
sbom-path: 'sbom.json'
push-to-registry: true
# - name: Generate SBOM attestation
# uses: actions/attest-sbom@v1
# with:
# subject-name: ${{ github.repository }}
# subject-digest: ${{ steps.build-and-push.outputs.digest }}
# sbom-path: 'sbom.json'
# push-to-registry: true
6 changes: 3 additions & 3 deletions cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ func init() {

var VersionCmd = &cobra.Command{
Use: "version",
Short: "Print the current version number of go-lambda-cleanup",
Long: `Prints the current version number of go-lambda-cleanup`,
Short: "Print the current version number of mywhoop",
Long: `Prints the current version number of mywhoop`,
RunE: func(cmd *cobra.Command, args []string) error {
version := fmt.Sprintf("mywhoop %s", VersionString)
version := fmt.Sprintf("mywhoop v%s", VersionString)
slog.Info(version)
client := internal.CreateHTTPClient()
_, message, err := checkForNewRelease(client, VersionString, UserAgent, url)
Expand Down
1 change: 1 addition & 0 deletions export/types.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) karl-cardenas-coding
// SPDX-License-Identifier: Apache-2.0

// A collection of data exporter that can be used to remotely ship data to a variety of destinations.
package export

import "github.com/aws/aws-sdk-go-v2/service/s3"
Expand Down
1 change: 1 addition & 0 deletions notifications/types.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) karl-cardenas-coding
// SPDX-License-Identifier: Apache-2.0

// Integrate different notification services to send notifications about the application status.
package notifications

// Ntfy is a struct that contains the configuration for the Ntfy notification service.
Expand Down

0 comments on commit 0803c29

Please sign in to comment.