Skip to content

Commit 1b9b117

Browse files
authored
[chore]: nightly build and publish (#1398)
* nightly build and publish Signed-off-by: Pierre Tessier <pierre@pierretessier.com> * add nightly releases Signed-off-by: Pierre Tessier <pierre@pierretessier.com> --------- Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
1 parent 0d7e94b commit 1b9b117

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.github/workflows/build-images.yml

+2
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ jobs:
174174
push: ${{ inputs.push }}
175175
tags: |
176176
${{ env.DOCKERHUB_REPO }}:${{ inputs.version }}-${{matrix.file_tag.tag_suffix }}
177+
${{ env.DOCKERHUB_REPO }}:latest-${{matrix.file_tag.tag_suffix }}
177178
${{ env.GHCR_REPO }}:${{ inputs.version }}-${{ matrix.file_tag.tag_suffix }}
179+
${{ env.GHCR_REPO }}:latest-${{ matrix.file_tag.tag_suffix }}
178180
cache-from: type=gha
179181
cache-to: type=gha

.github/workflows/nightly-release.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright The OpenTelemetry Authors
2+
# SPDX-License-Identifier: Apache-2.0
3+
name: Nightly Release
4+
5+
on:
6+
schedule:
7+
# Runs at 00:00 UTC every day
8+
- cron: '0 0 * * *'
9+
10+
jobs:
11+
build_and_push_images:
12+
uses: ./.github/workflows/build-images.yml
13+
with:
14+
push: true
15+
version: nightly-${{ github.run_id }}
16+
secrets: inherit

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ the release.
1111
([#1396](https://github.com/open-telemetry/opentelemetry-demo/pull/1396))
1212
* [chore] fix Make targets for restart and redeploy
1313
([#1397](https://github.com/open-telemetry/opentelemetry-demo/pull/1397))
14+
* [chore] add nightly releases
15+
([#1398](https://github.com/open-telemetry/opentelemetry-demo/pull/1398))
1416

1517
## 1.8.0
1618

0 commit comments

Comments
 (0)