Skip to content

Commit

Permalink
Fix release process (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
jradtilbrook authored Jun 13, 2024
1 parent f2aaf15 commit d5b588e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .buildkite/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This uses the upstream image without any changes intentionally.
# This allows dependabot to keep this version up-to-date for us automatically, since it does not work with
# docker-compose directly
FROM goreleaser/goreleaser-pro:v2.0.0-pro@sha256:3dcb9b7ebf61b7de4cff9f444695e3323c7dc56850ffb30dd89ebbd630dbad3e
FROM goreleaser/goreleaser-pro:v2.0.1-pro@sha256:aefa05cc637661b1b871aa68945736f71cfba84b5277476045d7beee33a415e6
2 changes: 2 additions & 0 deletions .buildkite/pipeline.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ steps:
- label: release
artifact_paths:
- dist/**/*
env:
AWS_REGION: us-east-1
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::445615400570:role/pipeline-buildkite-buildkite-cli-release
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ upload_url() {
echo "https://api.buildkite.com/v2/packages/organizations/${ORG}/registries/${REGISTRY}/packages"
}

GORELEASER_KEY=$(buildkite-agent secret get goreleaser_key)
export GORELEASER_KEY=$(buildkite-agent secret get goreleaser_key)

if [[ $? -ne 0 ]]; then
echo "Failed to retrieve GoReleaser Pro key"
Expand Down

0 comments on commit d5b588e

Please sign in to comment.