diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index aa0ac093e4..06b4595a9b 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -174,6 +174,8 @@ jobs: push: ${{ inputs.push }} tags: | ${{ env.DOCKERHUB_REPO }}:${{ inputs.version }}-${{matrix.file_tag.tag_suffix }} + ${{ env.DOCKERHUB_REPO }}:latest-${{matrix.file_tag.tag_suffix }} ${{ env.GHCR_REPO }}:${{ inputs.version }}-${{ matrix.file_tag.tag_suffix }} + ${{ env.GHCR_REPO }}:latest-${{ matrix.file_tag.tag_suffix }} cache-from: type=gha cache-to: type=gha diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml new file mode 100644 index 0000000000..4357759bfc --- /dev/null +++ b/.github/workflows/nightly-release.yml @@ -0,0 +1,16 @@ +# Copyright The OpenTelemetry Authors +# SPDX-License-Identifier: Apache-2.0 +name: Nightly Release + +on: + schedule: + # Runs at 00:00 UTC every day + - cron: '0 0 * * *' + +jobs: + build_and_push_images: + uses: ./.github/workflows/build-images.yml + with: + push: true + version: nightly-${{ github.run_id }} + secrets: inherit diff --git a/CHANGELOG.md b/CHANGELOG.md index 226ac01d5d..6d31cb3888 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ the release. ([#1396](https://github.com/open-telemetry/opentelemetry-demo/pull/1396)) * [chore] fix Make targets for restart and redeploy ([#1397](https://github.com/open-telemetry/opentelemetry-demo/pull/1397)) +* [chore] add nightly releases + ([#1398](https://github.com/open-telemetry/opentelemetry-demo/pull/1398)) ## 1.8.0