Revert(docker): Revert the query database to use the same database of… #45
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: CI | |
on: | |
push: | |
branches: ["master"] | |
workflow_dispatch: | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get the code | |
uses: actions/[email protected] | |
- name: Install .NET SDK | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0' | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build the project | |
run: dotnet build --configuration Release | |
- name: Run xUnit tests | |
run: dotnet test --configuration Release --no-build | |
- name: Docker Auth | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKER_USER }} | |
password: ${{ secrets.DOCKER_PWD }} | |
- name: Second step, build and push Docker images | |
uses: docker/[email protected] | |
with: | |
context: . | |
file: ./dockerfile | |
push: true | |
tags: | | |
raphsodyz/future-space_the-spacedevs:${{ github.run_number }} | |
raphsodyz/future-space_the-spacedevs:latest |