This repository was archived by the owner on Mar 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 2020 id : prepare
2121 run : |
2222 DOCKER_IMAGE=storedev/store-bot
23- DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/ arm64
23+ DOCKER_PLATFORMS=linux/amd64,linux/arm64
2424 VERSION=edge
2525
2626 if [[ $GITHUB_REF == refs/tags/* ]]; then
4242 --build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \
4343 --build-arg VCS_REF=${GITHUB_SHA::8} \
4444 ${TAGS} --file ./Dockerfile .
45- -
45+ -
46+ name : Set up QEMU
47+ uses : docker/setup-qemu-action@v1
48+ -
4649 name : Set up Docker Buildx
47- uses : crazy-max/ghaction-docker- buildx@v3
50+ uses : docker/setup- buildx-action@v1
4851 -
4952 name : Docker Buildx (build)
5053 run : |
Original file line number Diff line number Diff line change 11# https://hub.docker.com/_/microsoft-dotnet-core
2- FROM mcr.microsoft.com/dotnet/core/ sdk:3.1-alpine AS build
2+ FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
33WORKDIR /source
44
55# copy csproj and restore as distinct layers
@@ -14,7 +14,7 @@ WORKDIR /source
1414RUN dotnet publish -c release -o /app --no-restore
1515
1616# final stage/image
17- FROM mcr.microsoft.com/dotnet/core/ runtime:3.1-alpine
17+ FROM mcr.microsoft.com/dotnet/runtime:6.0
1818WORKDIR /app
1919COPY --from=build /app ./
2020ENTRYPOINT ["dotnet" , "StoreBot.dll" ]
You can’t perform that action at this time.
0 commit comments