Skip to content

Commit cc78eba

Browse files
committed
Merge branch 'dev' into v0.13
2 parents 2baaee4 + c44fc6b commit cc78eba

58 files changed

Lines changed: 5169 additions & 242 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Deploy Server-Side Demo to Azure
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
paths:
8+
- 'src/BlazorWebFormsComponents/**'
9+
- 'samples/AfterBlazorServerSide/**'
10+
- 'samples/SharedSampleObjects/**'
11+
- '.github/workflows/deploy-server-side.yml'
12+
workflow_dispatch:
13+
14+
permissions:
15+
packages: write
16+
contents: read
17+
18+
env:
19+
REGISTRY: ghcr.io
20+
IMAGE_NAME: fritzandfriends/blazorwebformscomponents/serversidesamples
21+
22+
jobs:
23+
build-and-push:
24+
runs-on: ubuntu-latest
25+
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
with:
30+
fetch-depth: 0
31+
32+
- name: Log in to GitHub Container Registry
33+
uses: docker/login-action@v3
34+
with:
35+
registry: ${{ env.REGISTRY }}
36+
username: ${{ github.actor }}
37+
password: ${{ secrets.GITHUB_TOKEN }}
38+
39+
- name: Set up Docker Buildx
40+
uses: docker/setup-buildx-action@v3
41+
42+
- name: Build and push Docker image
43+
uses: docker/build-push-action@v6
44+
with:
45+
context: .
46+
file: samples/AfterBlazorServerSide/Dockerfile
47+
push: true
48+
tags: |
49+
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
50+
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}

0 commit comments

Comments
 (0)