forked from grafana/beyla
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (40 loc) · 1.02 KB
/
publish_dockerhub_main.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
# TODO: trigger only if testing or any other checks previously succeeded
name: Push to DockerHub (main)
on:
push:
branches:
- main
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: |-
"main"
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: |-
"main"
push: true