Skip to content

52 update to sonarqube 10 #7

52 update to sonarqube 10

52 update to sonarqube 10 #7

Workflow file for this run

name: Docker Image CI
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build -t ci .
- name: Run the Docker image
run: docker run -d --name ci ci
- name: Verify the Docker image
#run: docker logs -f ci | sed '/Current profile for language web is Sonar way/ q'
run: grep 'Current profile for language web is Sonar way' <(docker logs -f ci)
timeout-minutes: 3
- name: Stop the Docker image
run: docker stop ci