Skip to content

Commit 4c634c2

Browse files
authored
Fix build (#210)
1 parent 15b4463 commit 4c634c2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/docker-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121
env:
2222
VERSION_NUMBER: ${{ github.event.inputs.tag_name || github.event.release.tag_name }}
2323
REGISTRY: docker.io
24-
IMAGE_NAME: ${{ github.repository }}
24+
IMAGE_NAME: pmcilreavy/azureeventgridsimulator
2525

2626
jobs:
2727
build-and-push:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# start with an sdk enabled alpine image so we can build source
2-
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0-alpine as build
2+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build
33
WORKDIR /source
44

55
# copy build configuration files first
@@ -31,7 +31,7 @@ RUN dotnet publish ./AzureEventGridSimulator/AzureEventGridSimulator.csproj \
3131
-p:DesignTimeBuild=true
3232

3333
# add binary artifact to new runtime-deps only image
34-
FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/runtime-deps:10.0-alpine
34+
FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-alpine
3535
WORKDIR /app
3636

3737
# add tzdata incase we want to set the timezone

0 commit comments

Comments
 (0)