Merge pull request #70 from ksummarized/00060_Implement_backend_for_a… #12
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 to container registry - backend | |
on: | |
push: | |
branches: [master] | |
paths: | |
- "backend/**" | |
env: | |
DOTNET_VERSION: "7.0" # The .NET SDK version to use | |
jobs: | |
build-and-publish-backend: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Publish to Registry | |
uses: elgohr/Publish-Docker-Github-Action@v5 | |
with: | |
name: ksummarized/ksummarized.com/ksummarized | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
registry: ghcr.io | |
snapshot: true | |
workdir: "backend" | |
tag_semver: true |