You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 30, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/release.md
+11-23Lines changed: 11 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -24,19 +24,27 @@ git tag -a v0.11.6 -m "v0.11.6"
24
24
git push origin v0.11.6
25
25
```
26
26
27
-
5. You will need a Github token in order for Goreleaser to be able to create a release in Github. If you already have one, skip to the next step.
27
+
5. Login to Docker
28
+
29
+
Login to the Shopify Docker account using `docker login`. Find the credentials in password manager.
30
+
31
+
6. You will need a Github token in order for Goreleaser to be able to create a release in Github. If you already have one, skip to the next step.
28
32
29
33
[Create a Github token](https://github.com/settings/tokens/new) with the `repo` scope.
30
34
31
-
6. Run Goreleaser
35
+
7. Run Goreleaser
32
36
33
37
Make sure you have Docker running.
34
38
35
39
```
36
40
GITHUB_TOKEN=<YOUR TOKEN> goreleaser --rm-dist
37
41
```
38
42
39
-
7. Publish the release in Github
43
+
8. Logout of docker
44
+
45
+
Logout of the Shopify Docker account: `docker logout`
46
+
47
+
9. Publish the release in Github
40
48
41
49
Goreleaser is set to draft mode which means it will create a draft release in Github, allowing you to double check the release and make changes to the Changelog. Find the [draft release](https://github.com/Shopify/kubeaudit/releases) and make sure there are no commits to master since the release.
42
50
@@ -49,23 +57,3 @@ Click `Edit` on the right of the draft release and tidy up the Changelog if nece
49
57
```
50
58
51
59
Click on `Publish release` at the bottom.
52
-
53
-
8. Publish Docker images
54
-
55
-
Since Goreleaser is set to draft mode, it will build Docker images but not publish them. You can see the images with `docker images`.
56
-
57
-
Login to the Shopify Docker account using `docker login`. Find the credentials in password manager.
58
-
59
-
Push up the following three images:
60
-
61
-
- latest: `shopify/kubeaudit:latest`
62
-
- patch: `shopify/kubeaudit:v0.<MINOR>.<PATCH>` for example `shopify/kubeaudit:v0.11.6`
63
-
- minor: `shopify/kubeaudit:v0.<MINOR>` for example `shopify/kubeaudit:v0.11`
64
-
65
-
```
66
-
docker push shopify/kubeaudit:latest
67
-
docker push shopify/kubeaudit:v0.<MINOR>.<PATCH>
68
-
docker push shopify/kubeaudit:v0.<MINOR>
69
-
```
70
-
71
-
Logout of the Shopify Docker account: `docker logout`
0 commit comments