-
Notifications
You must be signed in to change notification settings - Fork 111
49 lines (44 loc) · 1.32 KB
/
publish_dockerhub_release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# TODO: trigger only if testing or any other checks previously succeeded
name: Push to DockerHub (release)
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
permissions:
contents: read
id-token: write
jobs:
build-multiarch:
runs-on: ubuntu-latest-8-cores
steps:
- id: checkout
uses: actions/checkout@v4
with:
lfs: true
- id: push-beyla-to-dockerhub
uses: grafana/shared-workflows/actions/build-push-to-dockerhub@main
with:
repository: grafana/beyla
context: .
platforms: |-
"linux/amd64"
"linux/arm64"
tags: |-
"type=semver,pattern={{major}}"
"type=semver,pattern={{major}}.{{minor}}"
"type=semver,pattern={{major}}.{{minor}}.{{patch}}"
push: true
- id: push-beyla-k8s-cache-to-dockerhub
uses: grafana/shared-workflows/actions/build-push-to-dockerhub@main
with:
repository: grafana/beyla-k8s-cache
file: k8scache.Dockerfile
context: .
platforms: |-
"linux/amd64"
"linux/arm64"
tags: |-
"type=semver,pattern={{major}}"
"type=semver,pattern={{major}}.{{minor}}"
"type=semver,pattern={{major}}.{{minor}}.{{patch}}"
push: true