Update 10.0
This commit is contained in:
@@ -10,7 +10,7 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: build .net app
|
- name: build .net app
|
||||||
uses: docker://mcr.microsoft.com/dotnet/sdk:9.0
|
uses: docker://mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
with:
|
with:
|
||||||
args: dotnet publish -r linux-x64 -c Release --self-contained -o dist -p:AssemblyName=App -p:Version=${{ github.ref_name }}
|
args: dotnet publish -r linux-x64 -c Release --self-contained -o dist -p:AssemblyName=App -p:Version=${{ github.ref_name }}
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ runs:
|
|||||||
with:
|
with:
|
||||||
entrypoint: "/bin/bash"
|
entrypoint: "/bin/bash"
|
||||||
args: |
|
args: |
|
||||||
-c 'echo "FROM mcr.microsoft.com/dotnet/runtime:9.0" > Dockerfile && \
|
-c 'echo "FROM mcr.microsoft.com/dotnet/runtime:10.0" > Dockerfile && \
|
||||||
echo "ENV TZ Asia/Shanghai" >> Dockerfile && \
|
echo "ENV TZ Asia/Shanghai" >> Dockerfile && \
|
||||||
echo "COPY dist /home" >> Dockerfile && \
|
echo "COPY dist /home" >> Dockerfile && \
|
||||||
echo "WORKDIR /home" >> Dockerfile && \
|
echo "WORKDIR /home" >> Dockerfile && \
|
||||||
|
|||||||
Reference in New Issue
Block a user