Update CI workflow to target ARM64 platform and clean up Dockerfile
This commit is contained in:
parent
a044faa163
commit
77f4ada5f1
@ -32,7 +32,7 @@ jobs:
|
|||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: git.ivanch.me/ivanch/pet-companion/pet-companion-api:latest
|
tags: git.ivanch.me/ivanch/pet-companion/pet-companion-api:latest
|
||||||
platforms: linux/amd64, linux/arm64
|
platforms: linux/arm64
|
||||||
|
|
||||||
- name: Image digest
|
- name: Image digest
|
||||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||||
|
@ -4,7 +4,6 @@ WORKDIR /app
|
|||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
EXPOSE 8081
|
EXPOSE 8081
|
||||||
|
|
||||||
|
|
||||||
# This stage is used to build the service project
|
# This stage is used to build the service project
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||||
ARG BUILD_CONFIGURATION=Release
|
ARG BUILD_CONFIGURATION=Release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user