Skip to content

Client changes

Client changes #8

Workflow file for this run

name: docker-tagged
on:
push:
tags:
- '**'
branches-ignore:
- 'main'
jobs:
docker:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERUSER }}
password: ${{ secrets.DOCKERPASSWORD }}
registry: ${{ secrets.DOCKERREGISTRY }}
- name: Restore dependencies
run: dotnet restore
- name: Publish Website
run: dotnet publish Website/Website.csproj --os linux --arch x64 -c Release -p:PublishProfile=DefaultContainer -p:ContainerRegistry=${{ secrets.DOCKERREGISTRY }} -p:ContainerRepository=mecatol_archives_website -p:ContainerImageTags=${{ github.ref_name }}
- name: Publish API
run: dotnet publish API/API.csproj --os linux --arch x64 -c Release -p:PublishProfile=DefaultContainer -p:ContainerRegistry=${{ secrets.DOCKERREGISTRY }} -p:ContainerRepository=mecatol_archives_api -p:ContainerImageTags=${{ github.ref_name }}