Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ac2ea2a9a5 | |||
| ffaea10f44 | |||
| cd0edec737 | |||
| 82d3f78536 | |||
| 9a90a92c0f |
@@ -3,6 +3,7 @@ FROM mcr.microsoft.com/dotnet/sdk:10.0
|
|||||||
# 更新並安裝必要的工具後清理暫存檔案以減小映像檔大小
|
# 更新並安裝必要的工具後清理暫存檔案以減小映像檔大小
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt install -y curl jq unzip \
|
&& apt install -y curl jq unzip \
|
||||||
|
&& apt clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|||||||
+3
-1
@@ -8,6 +8,8 @@ inputs:
|
|||||||
RELEASE_INDEX:
|
RELEASE_INDEX:
|
||||||
description: '要推送的版本中第幾個成品,預設為 0'
|
description: '要推送的版本中第幾個成品,預設為 0'
|
||||||
default: 0
|
default: 0
|
||||||
|
RUNNER_TOKEN:
|
||||||
|
description: '存取權杖'
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'Dockerfile'
|
image: 'Dockerfile'
|
||||||
@@ -16,5 +18,5 @@ runs:
|
|||||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||||
RELEASE_VERSION: ${{ inputs.RELEASE_VERSION }}
|
RELEASE_VERSION: ${{ inputs.RELEASE_VERSION }}
|
||||||
RELEASE_INDEX: ${{ inputs.RELEASE_INDEX }}
|
RELEASE_INDEX: ${{ inputs.RELEASE_INDEX }}
|
||||||
RUNNER_TOKEN: ${{ secrets.RUNNER_TOKEN }}
|
RUNNER_TOKEN: ${{ inputs.RUNNER_TOKEN || secrets.RUNNER_TOKEN || secrets.GITEA_TOKEN }}
|
||||||
NUGET_AUTHOR: ${{ gitea.repository_owner }}
|
NUGET_AUTHOR: ${{ gitea.repository_owner }}
|
||||||
Reference in New Issue
Block a user