added dependencies for micrometer tracking, prometheus, jvm extras, a… #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Basket API Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- src/Services/basketapi/** | |
- .github/workflows/basket-api.yml | |
- .github/workflows/composite/build-push/** | |
env: | |
SERVICE: basket-api | |
IMAGE: basketapi | |
jobs: | |
BuildLinux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build & publish docker images | |
uses: ./.github/workflows/composite/build-push | |
with: | |
service: ${{ env.SERVICE }} | |
registry_host: ${{ secrets.REGISTRY_HOST }} | |
registry_endpoint: ${{ secrets.REGISTRY_ENDPOINT }} | |
image_name: ${{ env.IMAGE }} | |
registry_username: ${{ secrets.DOCKER_USERNAME }} | |
registry_password: ${{ secrets.DOCKER_PASSWORD }} | |
registry_namespace: ${{ secrets.DOCKER_NAMESPACE }} | |
git_token: ${{ secrets.GIT_TOKEN }} | |