test configuration for components (#286) #157
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: Qanary Component Build Pipeline | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build-java: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Configure java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Docker Login | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USER }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- uses: actions/checkout@v3 | |
- name: Build and push Java components | |
run: bash -c ./service_config/build_images.sh | |
- name: Init update | |
uses: MindMaster98/[email protected] | |
with: | |
api_key: ${{ secrets.API_KEY }} | |
updater_host: ${{ secrets.UPDATER_HOST }} | |
build-python: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Docker Login | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USER }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- uses: actions/checkout@v3 | |
- name: Build and push Python components | |
run: bash -c ./service_config/build_python_images.sh | |
- name: Init update | |
uses: WSE-research/[email protected] | |
with: | |
api_key: ${{ secrets.API_KEY }} | |
updater_host: ${{ secrets.UPDATER_HOST }} |