refactor: use service-base directly for services (#804) #13
This file contains hidden or 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: Similarity Service | |
| on: | |
| push: | |
| paths: | |
| - 'services/similarity/**' | |
| branches: | |
| - main | |
| jobs: | |
| build-publish-image: | |
| name: Build and Publish Image | |
| uses: ./.github/workflows/build-and-publish-image.yml | |
| with: | |
| service: 'similarity' | |
| working-directory: 'services' | |
| secrets: inherit | |
| scan: | |
| uses: ./.github/workflows/scanner.yml | |
| with: | |
| path: 'services' | |
| service: 'similarity' | |
| image: 'similarity-service' | |
| secrets: | |
| ICR_USERNAME: ${{ secrets.ICR_USERNAME }} | |
| ICR_APIKEY: ${{ secrets.ICR_APIKEY }} | |
| # Made with Bob |