Use the new (faster) build action

This commit is contained in:
Gervasio Marchand 2024-01-01 11:52:47 -03:00
parent c5034a8e67
commit 2fbc0744db
No known key found for this signature in database
GPG Key ID: B7736CB188DD0A38
2 changed files with 2 additions and 4 deletions

View File

@ -5,4 +5,4 @@ on:
jobs: jobs:
build-containers: build-containers:
uses: g3rv4/actions/.github/workflows/dotnet-webapp.yml@v1 uses: g3rv4/actions/.github/workflows/dotnet-webapp.yml@v1.1

View File

@ -1,7 +1,5 @@
# syntax=docker/dockerfile:1
ARG ARCH= ARG ARCH=
FROM mcr.microsoft.com/dotnet/sdk:8.0.100-1-alpine3.18-${ARCH} AS builder FROM mcr.microsoft.com/dotnet/sdk:8.0.100-1-alpine3.18 AS builder
WORKDIR /src WORKDIR /src
COPY src /src/ COPY src /src/
RUN dotnet publish -c Release /src/FakeRelay.sln -o /app RUN dotnet publish -c Release /src/FakeRelay.sln -o /app