Skip to content

Fix explicit connection string on DbContex to apply Database Migratio… #41

Fix explicit connection string on DbContex to apply Database Migratio…

Fix explicit connection string on DbContex to apply Database Migratio… #41

Workflow file for this run

name: Container publish
on:
push:
branches: [ master ]
tags:
- v*
jobs:
build:
runs-on: ubuntu-22.04
name: Build
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
push_to_registry:
needs: [build]
name: DockerHub Publish
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: vanderlangs/orion-api
tag_with_ref: true