From 77f4ada5f1d126f6e0fcbc83c18e2093534cb5ec Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Sun, 16 Feb 2025 10:30:59 -0300 Subject: [PATCH] Update CI workflow to target ARM64 platform and clean up Dockerfile --- .gitea/workflows/main.yml | 2 +- Dockerfile | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 2cc8702..faaeea7 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -32,7 +32,7 @@ jobs: file: ./Dockerfile push: true tags: git.ivanch.me/ivanch/pet-companion/pet-companion-api:latest - platforms: linux/amd64, linux/arm64 + platforms: linux/arm64 - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }} diff --git a/Dockerfile b/Dockerfile index e95b408..b0c0ee7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,6 @@ WORKDIR /app EXPOSE 8080 EXPOSE 8081 - # This stage is used to build the service project FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build ARG BUILD_CONFIGURATION=Release