Bump SixLabors.ImageSharp from 3.1.3 to 3.1.4 in /src/CodeIndex.Server #209
Workflow file for this run
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: Publish CodeIndex | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install dependencies | |
run: | | |
cd src | |
dotnet restore | |
- name: Build CodeIndex | |
run: dotnet build src/CodeIndex.sln --configuration Release --no-restore | |
- name: Test CodeIndex | |
run: | | |
cd src | |
dotnet test --no-restore --verbosity normal | |
- | |
name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build and Push the Docker image | |
run: | | |
cd src | |
docker build -f CodeIndex.Server/Dockerfile -t qiuhaotc/codeindex:latest . | |
docker push qiuhaotc/codeindex |