From 2fbc0744db5e9703d56ce79ab6abc31ebc756e8e Mon Sep 17 00:00:00 2001 From: Gervasio Marchand Date: Mon, 1 Jan 2024 11:52:47 -0300 Subject: [PATCH] Use the new (faster) build action --- .github/workflows/build.yml | 2 +- Dockerfile | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99fa40e..2abdfef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,4 +5,4 @@ on: jobs: build-containers: - uses: g3rv4/actions/.github/workflows/dotnet-webapp.yml@v1 + uses: g3rv4/actions/.github/workflows/dotnet-webapp.yml@v1.1 diff --git a/Dockerfile b/Dockerfile index 00d17ce..31d3bd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ -# syntax=docker/dockerfile:1 - 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 COPY src /src/ RUN dotnet publish -c Release /src/FakeRelay.sln -o /app