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
Copy file name to clipboardExpand all lines: docs/sources/community/maintaining/release-loki-build-image.md
+8-20Lines changed: 8 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -14,23 +14,11 @@ if any changes were made in the folder `./loki-build-image/`.
14
14
15
15
**To build and use the `loki-build-image`:**
16
16
17
-
## Step 1
18
-
19
-
1. Create a branch with the desired changes to the Dockerfile.
20
-
2. Update the version tag of the `loki-build-image` pipeline defined in `.drone/drone.jsonnet` (search for `pipeline('loki-build-image')`) to a new version number (try to follow semver).
21
-
3. Run `DRONE_SERVER=https://drone.grafana.net/ DRONE_TOKEN=<token> make drone` and commit the changes to the same branch.
22
-
1. The `<token>` is your personal drone token, which can be found by navigating to https://drone.grafana.net/account.
23
-
4. Create a PR.
24
-
5. Once approved and merged to `main`, the image with the new version is built and published.
25
-
{{% admonition type="note" %}}
26
-
Keep an eye on https://drone.grafana.net/grafana/loki for the build after merging ([example](https://drone.grafana.net/grafana/loki/17760/1/2)).
27
-
{{% /admonition %}}
28
-
29
-
## Step 2
30
-
31
-
1. Create a branch.
32
-
2. Update the `BUILD_IMAGE_VERSION` variable in the `Makefile`.
33
-
3. Run `loki-build-image/version-updater.sh <new-version>` to update all the references.
34
-
4. Run `DRONE_SERVER=https://drone.grafana.net/ DRONE_TOKEN=<token> make drone` to update the Drone config to use the new build image.
35
-
5. Create a new PR.
36
-
17
+
1. Create a branch with the desired changes to the `./loki-build-image/Dockerfile`.
18
+
1. Update the `BUILD_IMAGE_VERSION` variable in the `Makefile`.
19
+
1. Commit your changes.
20
+
1. Run `make build-image-push` to build and publish the new version of the build image.
21
+
1. Run `make release-workflows` to update the Github workflows.
0 commit comments