From 94ab20d367e554c76b09e7b333e613d0257f4ffc Mon Sep 17 00:00:00 2001 From: Vanderlan Gomes da Silva Date: Sun, 8 Oct 2023 14:46:37 -0300 Subject: [PATCH] Try to fix push container using git tags --- .github/workflows/docker.yml | 4 +--- .github/workflows/sonar.yml | 4 ++-- README.md | 9 +++++---- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3601f2d..14f78bf 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -43,6 +43,4 @@ jobs: uses: docker/build-push-action@v5 with: push: ${{ github.event_name != 'pull_request' }} - tags: | - ${{ secrets.DOCKERHUB_USERNAME }}/orion-api:${{ steps.vars.outputs.tag }} - ${{ secrets.DOCKERHUB_USERNAME }}/orion-api:latest \ No newline at end of file + tags: vanderlangs/orion-api:${{ steps.vars.outputs.tag }},vanderlangs/orion-api:latest \ No newline at end of file diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 0cef6a7..52c8a09 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -1,4 +1,4 @@ -name: Sonar Analysis +name: Build on: push: branches: @@ -7,7 +7,7 @@ on: types: [opened, synchronize, reopened] jobs: build: - name: Sonar Analysis + name: Build runs-on: windows-latest steps: - name: Set up JDK 17 diff --git a/README.md b/README.md index 8f3456a..9b6c162 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # **Orion Api** -[![Build and test](https://github.com/vanderlan/Orion-Api/actions/workflows/dotnet.yml/badge.svg)](https://github.com/vanderlan/Orion-Api/actions/workflows/dotnet.yml) [![Coverage Status](https://coveralls.io/repos/github/vanderlan/Orion-Api/badge.svg)](https://coveralls.io/github/vanderlan/Orion-Api) [![GitHub release](https://img.shields.io/github/release/vanderlan/Orion-Api.svg)](https://GitHub.com/vanderlan/Orion-Api/) [![GitHub repo size](https://img.shields.io/github/repo-size/vanderlan/Orion-Api)](https://github.com/vanderlan/Orion-Api) +[![Build](https://github.com/vanderlan/Orion-Api/actions/workflows/sonar.yml/badge.svg)](https://github.com/vanderlan/Orion-Api/actions/workflows/sonar.yml) +[![Coverage Status](https://coveralls.io/repos/github/vanderlan/Orion-Api/badge.svg)](https://coveralls.io/github/vanderlan/Orion-Api) +[![GitHub release](https://img.shields.io/github/release/vanderlan/Orion-Api.svg)](https://GitHub.com/vanderlan/Orion-Api/) +[![GitHub repo size](https://img.shields.io/github/repo-size/vanderlan/Orion-Api)](https://github.com/vanderlan/Orion-Api) **About this Project** @@ -13,11 +16,9 @@ The main objective is to start projects with a clean and simple architecture, wi + Entity Framework Core + Fluent API; + CreatedAt and UpdatedAt by default; - + Pagination; - + Optimized for best performance. + + Pagination. + AutoMapper - + Unmapped members Configuration. + Swagger + Fluent Validation + Authentication and Authorization