Skip to content

github action end-to-end test #214

github action end-to-end test

github action end-to-end test #214

Workflow file for this run

name: Docker Image CI
on:
workflow_dispatch:
inputs:
test_list:
description: Only run tests that match the regular expression
default: ""
required: false
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login in quay
run: docker login quay.io -u ${QUAY_USER} -p ${QUAY_TOKEN}
env:
QUAY_USER: ${{ secrets.QUAY_USER_1 }}
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN_1 }}
- name: Check out code
uses: actions/checkout@main
- name: Build the Docker images
run: docker-compose build --parallel
- name: Push the Docker images
run: docker-compose push
- name: Call repo lambda
run: |
curl --location --request POST '${{ secrets.LAMBDA_URL }}' --header 'Authorization: Bearer ${{ secrets.LAMBDA_TOKEN }}'