Skip to content

Commit

Permalink
skip-qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomac committed Oct 30, 2024
1 parent 9d3e595 commit 7cb634f
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/publish_dockerhub_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,33 @@ on:
push:
branches:
- main
pull_request:
branches: [ 'main', 'release-*' ]

permissions:
contents: read
id-token: write
#permissions:
# contents: read
# id-token: write

jobs:
build:
build-push:
runs-on: ubuntu-latest

steps:
- id: docker-login
name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: mariomac
password: ${{ secrets.aaabbccde }} # will be removed in 10 seconds

- id: checkout
uses: actions/checkout@v4

- id: push-beyla-to-dockerhub
uses: grafana/shared-workflows/actions/build-push-to-dockerhub@main
uses: mariomac/shared-workflows/actions/build-push-to-dockerhub@skip-qemu
with:
repository: grafana/beyla
skip-qemu: true
repository: mariomac/beyla
context: .
# cache image layers from/to github actions internal cache, for faster building
cache-from: type=gha
Expand All @@ -33,9 +43,10 @@ jobs:
push: true

- id: push-beyla-k8s-cache-to-dockerhub
uses: grafana/shared-workflows/actions/build-push-to-dockerhub@main
uses: mariomac/shared-workflows/actions/build-push-to-dockerhub@skip-qemu
with:
repository: grafana/beyla-k8s-cache
skip-qemu: true
repository: mariomac/beyla-k8s-cache
file: k8scache.Dockerfile
context: .
# cache image layers from/to github actions internal cache, for faster building
Expand Down

0 comments on commit 7cb634f

Please sign in to comment.