Skip to content

Commit

Permalink
Merge pull request #408 from hashicorp/remove-codesign
Browse files Browse the repository at this point in the history
remove codesign entirely from go-getter
  • Loading branch information
claire-labry authored Jan 25, 2023
2 parents 611343a + b55f8f7 commit d229395
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,7 @@ jobs:
uses: hashicorp/setup-signore@v1
with:
github-token: ${{secrets.SIGNORE_TOKEN}}
- name: Install hc-codesign
id: codesign
run: |
docker login docker.pkg.github.com -u docker -p $GITHUB_TOKEN && \
docker pull docker.pkg.github.com/hashicorp/hc-codesign/hc-codesign:$VERSION && \
echo "::set-output name=image::docker.pkg.github.com/hashicorp/hc-codesign/hc-codesign:$VERSION"
env:
VERSION: v0
GITHUB_TOKEN: ${{ secrets.CODESIGN_GITHUB_TOKEN }}

- name: Install wget & clamAV antivirus scanner
run : |
sudo apt-get update
Expand All @@ -60,7 +52,6 @@ jobs:
args: release --skip-validate --timeout "60m"
env:
PGP_KEY_ID: ${{ secrets.PGP_KEY_ID }}
CODESIGN_IMAGE: ${{ steps.codesign.outputs.image }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ARTIFACTORY_TOKEN: ${{ secrets.ARTIFACTORY_TOKEN }}
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }}
Expand Down
9 changes: 0 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ builds:
- darwin_amd64
- windows_386
- windows_amd64
hooks:
post: |
docker run
-e ARTIFACTORY_TOKEN={{ .Env.ARTIFACTORY_TOKEN }}
-e ARTIFACTORY_USER={{ .Env.ARTIFACTORY_USER }}
-e CIRCLE_TOKEN={{ .Env.CIRCLE_TOKEN }}
-v {{ dir .Path }}:/workdir
{{ .Env.CODESIGN_IMAGE }}
sign -product-name={{ .ProjectName }} {{ .Name }}
dir: ./cmd/go-getter/
flags:
- -trimpath
Expand Down

0 comments on commit d229395

Please sign in to comment.