prioritize featured tools in search results (#15) #79
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: release | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
jobs: | |
build_push_app: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Login to ghcr.io | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push the image | |
uses: docker/build-push-action@v2 | |
with: | |
context: . | |
push: true | |
tags: ghcr.io/${{ github.repository }}:${{ github.ref_name }} | |
- name: Deploy | |
if: github.ref == 'refs/heads/main' | |
env: | |
deploy_url: ${{ secrets.RENDER_DEPLOY_APP_HOOK_URL }} | |
run: | | |
curl "$deploy_url" | |
build_push_parser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Login to ghcr.io | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push the image | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./parser | |
push: true | |
tags: ghcr.io/${{ github.repository }}/parser:${{ github.ref_name }} | |
- name: Deploy | |
if: github.ref == 'refs/heads/main' | |
env: | |
deploy_url: ${{ secrets.RENDER_DEPLOY_PARSER_HOOK_URL }} | |
run: | | |
curl "$deploy_url" | |
build_push_indexer: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Login to ghcr.io | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push the image | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./indexer | |
push: true | |
tags: ghcr.io/${{ github.repository }}/indexer:${{ github.ref_name }} |