-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1159 from mesosphere/mh/bump-goreleaser
fix: add macos binary notarization
- Loading branch information
Showing
3 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,14 +7,14 @@ on: | |
workflow_dispatch: | ||
push: | ||
tags: | ||
- 'v*' | ||
- "v*" | ||
|
||
name: Release konvoy-image-builder | ||
jobs: | ||
release-to-github: | ||
runs-on: | ||
- self-hosted | ||
- small | ||
- self-hosted | ||
- small | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -24,11 +24,11 @@ jobs: | |
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: 'go.mod' | ||
go-version-file: "go.mod" | ||
cache: true | ||
|
||
- name: Download GoReleaser | ||
run: go install github.com/goreleaser/goreleaser@v1.15.2 | ||
run: go install github.com/goreleaser/goreleaser/[email protected] | ||
|
||
- name: Docker Login | ||
uses: docker/login-action@v3 | ||
|
@@ -45,6 +45,13 @@ jobs: | |
env: | ||
DOCKER_CLI_EXPERIMENTAL: "enabled" | ||
GITHUB_TOKEN: ${{ secrets.MESOSPHERECI_USER_TOKEN }} | ||
# notarize options | ||
NOTARIZE_DARWIN_BINARY: "true" | ||
MACOS_SIGN_P12: "${{ secrets.NCN_APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}" | ||
MACOS_SIGN_PASSWORD: "${{ secrets.NCN_APPLE_DEVELOPER_CERTIFICATE_PASSWORD }}" | ||
MACOS_NOTARY_ISSUER_ID: "${{ secrets.NCN_APPSTORECONNECT_ISSUER_ID }}" | ||
MACOS_NOTARY_KEY_ID: "${{ secrets.NCN_APPSTORECONNECT_KEY_ID }}" | ||
MACOS_NOTARY_KEY: "${{ secrets.NCN_APPSTORECONNECT_PRIVATE_KEY }}" | ||
|
||
bump-kib: | ||
runs-on: ubuntu-22.04 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
--- | ||
version: 2 | ||
before: | ||
hooks: | ||
- go mod download | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters