Excluding the git-commit plugin to resolve the github action pipeline… #56
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: Catalog API Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- src/Services/catalogapi/** | |
- .github/workflows/catalog-api.yml | |
env: | |
SERVICE: catalog-api | |
IMAGE: catalogapi | |
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 }} | |