Skip to content

add more logs

add more logs #53

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Discount API CI
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- src/BuildingBlocks/**
- src/Services/Discount/**
- .github/workflows/discount-api.yml
pull_request:
branches: [ "main" ]
paths:
- src/BuildingBlocks/**
- src/Services/Discount/**
- .github/workflows/discount-api.yml
env:
SERVICE: discount.api
IMAGE: discount.api
ProjectPath: src/Services/Discount/Discount.API
RegistryUsername: behdadkardgar
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: ./.github/workflows/composite/build-push
with:
service: ${{ env.SERVICE }}
image_name: ${{ env.IMAGE }}
registry_username: ${{ env.RegistryUsername }}
project_path: ${{ env.ProjectPath }}
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}