diff --git a/.github/workflows/test_upload_image.dev.yml b/.github/workflows/test_upload_image.dev.yml index ab8826de..2a415cdf 100644 --- a/.github/workflows/test_upload_image.dev.yml +++ b/.github/workflows/test_upload_image.dev.yml @@ -6,7 +6,21 @@ on: - workflow jobs: + sonarcloud: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: SonarCloud Scan + uses: sonarsource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + docker: + needs: sonarcloud runs-on: ubuntu-latest steps: - diff --git a/Dockerfile b/Dockerfile index ec69a7e9..e61cc1e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ FROM nginx:stable-alpine COPY nginx_conf/nginx.conf /etc/nginx/nginx.conf -#COPY ita-challenges-frontend/* /usr/share/nginx/html/ ADD ["dist/ita-challenges-frontend/*", "/usr/share/nginx/html/"] EXPOSE 80 diff --git a/conf/.env.CI.dev b/conf/.env.CI.dev index 655ef19c..1fdb9adc 100644 --- a/conf/.env.CI.dev +++ b/conf/.env.CI.dev @@ -1,2 +1,2 @@ MICROSERVICE_DEPLOY=ita-challenges-frontend -MICROSERVICE_VERSION=1.0.2-RELEASE +MICROSERVICE_VERSION=1.0.3-RELEASE