123456789101112131415161718192021222324252627282930313233 |
- name: Publish PetClinic benchmark image
- on:
- push:
- paths:
- - 'benchmark-overhead/Dockerfile-petclinic-base'
- branches:
- - main
- workflow_dispatch:
- jobs:
- publish:
- runs-on: ubuntu-latest
- permissions:
- packages: write
- contents: read
- steps:
- - uses: actions/checkout@v3
- - uses: docker/setup-buildx-action@v1
- - name: Login to GitHub container registry
- uses: docker/login-action@v1
- with:
- registry: ghcr.io
- username: ${{ github.repository_owner }}
- password: ${{ secrets.GITHUB_TOKEN }}
- - name: Push to GitHub packages
- uses: docker/build-push-action@v2
- with:
- push: true
- file: benchmark-overhead/Dockerfile-petclinic-base
- tags: ghcr.io/open-telemetry/opentelemetry-java-instrumentation/petclinic-rest-base:latest
|