Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1718 from endocode/dongsu/docs-release-gpg
Browse files Browse the repository at this point in the history
Documentation: describe how to sign binaries with gpg key
  • Loading branch information
Dongsu Park authored Dec 22, 2016
2 parents 4249a49 + de745e2 commit 2ef632e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions Documentation/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ All releases version numbers follow the format of [semantic versioning 2.0.0](ht
- Manually check fleet is buildable in Linux, Darwin.
- Manually check upgrade fleet cluster of previous minor version works well.
- Manually check new features work well.
- Add an annotated tag through `git tag -a ${VERSION}`.
- Add a signed tag through `git tag -s ${VERSION} -u 3F1B2C87`.
- Sanity check tag correctness through `git show tags/$VERSION`.
- Push the tag to GitHub through `git push origin tags/$VERSION`. This assumes `origin` corresponds to "https://github.com/coreos/fleet".

Expand All @@ -48,11 +48,24 @@ Run release script in root directory:

It generates all release binaries and images under directory `./release`.

## Sign Binaries and Images

Choose appropriate private key to sign the generated binaries and images.

The following commands are used for public release sign:

```
cd release
gpg --sign -u 3F1B2C87 fleet-${VERSION}.tar.gz
# use `CoreOS ACI Builder <[email protected]>` secret key
gpg -u 3F1B2C87 -a --output fleetd-${VERSION}-linux-amd64.aci.asc --detach-sig fleetd-${VERSION}-linux-amd64.aci
```

## Publish Release Page in GitHub

- Set release title as the version name.
- Follow the format of previous release pages.
- Attach the generated binaries and aci image.
- Attach the generated binaries, aci image and signatures.
- Publish the release!

## Publish Docker Image in Quay.io
Expand Down

0 comments on commit 2ef632e

Please sign in to comment.