From a5c3bec5202534b6b569ca4675eb9e66bf2cedfe Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Tue, 10 Sep 2024 17:12:24 +0200 Subject: [PATCH] build on CI --- .github/workflows/release.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc225fb..3acf2e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,13 +1,9 @@ name: Release -# do this once it works -#on: -# push: -# tags: -# - "v*.*.*" - on: - pull_request: + push: + tags: + - "v*.*.*" permissions: contents: read @@ -24,11 +20,10 @@ jobs: - id: push-to-dockerhub uses: grafana/shared-workflows/actions/build-push-to-dockerhub@main with: - repository: ${{ github.repository }} # or any other dockerhub repository + repository: grafana/otel-lgtm context: docker -# push: true - push: false + push: true platforms: linux/amd64,linux/arm64 tags: |- - "2024-test-${{ github.sha }}" -# "latest" + type=match,pattern=v(.*),group=1 + latest