Skip to content

Commit

Permalink
build on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Sep 10, 2024
1 parent 7eee314 commit a5c3bec
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
name: Release

# do this once it works
#on:
# push:
# tags:
# - "v*.*.*"

on:
pull_request:
push:
tags:
- "v*.*.*"

permissions:
contents: read
Expand All @@ -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

0 comments on commit a5c3bec

Please sign in to comment.