fix lang info #9
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
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action | |
# More GitHub Actions for Azure: https://github.com/Azure/actions | |
name: Dockerize background workers | |
on: | |
push: | |
branches: | |
- release/background | |
pull_request: | |
types: [opened, synchronize, reopened, closed] | |
branches: | |
- release/background | |
workflow_dispatch: | |
env: | |
AZURE_FUNCTIONAPP_PACKAGE_PATH: './Stat.Itok.Func.Worker' # set this to the path to your web app project, defaults to the repository root | |
DOTNET_VERSION: '6.0.x' # set this to the dotnet version to use | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout GitHub Action' | |
uses: actions/checkout@v2 | |
- name: Build and publish a Docker image for ${{ github.repository }} | |
uses: macbre/push-to-ghcr@master | |
with: | |
image_name: ${{ github.repository }} # it will be lowercased internally | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
dockerfile: "./Stat.Itok.Func.Worker/Dockerfile" |