Skip to content

Update all NuGet and npm packages to latest versions (#612) #12

Update all NuGet and npm packages to latest versions (#612)

Update all NuGet and npm packages to latest versions (#612) #12

Workflow file for this run

name: eShop build
on:
push:
paths:
- 'src/Services/Coupon/**'
- 'tests/Services/Coupon/**'
branches: [ main ]
jobs:
build-and-push-docker-image:
runs-on: ubuntu-latest
steps:
- name: Get code from the repository
uses: actions/checkout@v1
with:
ref: main
- name: Run unit tests
run: dotnet test tests/Services/Coupon/*.Tests/*.csproj
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
- name: Build and push Docker image
uses: docker/[email protected]
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
registry: ${{ secrets.REGISTRY_LOGIN_SERVER }}
path: .
dockerfile: './src/Services/Coupon/Coupon.API/Dockerfile.acr'
repository: 'coupon.api'
tags: 'linux-net6-coupon'
push: true