Added platform linux/arm64 for docker building, update release messages.

This commit is contained in:
AirryCo
2024-11-26 15:42:43 +08:00
parent 9e180f1733
commit 8e48c4c579
2 changed files with 16 additions and 5 deletions

View File

@@ -604,7 +604,7 @@ jobs:
Build time: ***${{ needs.prepare.outputs.BUILD_DATE_TIME }}*** Build time: ***${{ needs.prepare.outputs.BUILD_DATE_TIME }}***
**Docker Supported For linux/amd64**: **Docker Supported For linux/amd64 and linux/arm64**:
image id: `${{ needs.build-server-linux.outputs.DOCKER_IMAGEID }}` image id: `${{ needs.build-server-linux.outputs.DOCKER_IMAGEID }}`
@@ -613,6 +613,15 @@ jobs:
```bash ```bash
docker pull stblog/spt-server:nightly docker pull stblog/spt-server:nightly
docker pull ghcr.io/airryco/spt-server:nightly docker pull ghcr.io/airryco/spt-server:nightly
docker pull registry.cn-shenzhen.aliyuncs.com/spt-server/spt-server:nightly
```
Fika-Server built-in:
```bash
docker pull stblog/spt-server:nightly-fika
docker pull ghcr.io/airryco/spt-server:nightly-fika
docker pull registry.cn-shenzhen.aliyuncs.com/spt-server/spt-server:nightly-fika
``` ```
> [!WARNING] > [!WARNING]

View File

@@ -370,7 +370,7 @@ jobs:
org.opencontainers.image.source=https://github.com/AirryCo/spt-server org.opencontainers.image.source=https://github.com/AirryCo/spt-server
org.opencontainers.image.url=https://github.com/AirryCo/spt-server org.opencontainers.image.url=https://github.com/AirryCo/spt-server
org.opencontainers.image.revision=${{ steps.debug-info.outputs.COMMIT_ID_WHOLE }} org.opencontainers.image.revision=${{ steps.debug-info.outputs.COMMIT_ID_WHOLE }}
platforms: linux/amd64 platforms: linux/amd64,linux/arm64
- name: Build and Push For Latest - name: Build and Push For Latest
if: ${{ !contains(needs.prepare.outputs.TARGET_TAG, 'BEM') }} if: ${{ !contains(needs.prepare.outputs.TARGET_TAG, 'BEM') }}
@@ -384,7 +384,7 @@ jobs:
org.opencontainers.image.source=https://github.com/AirryCo/spt-server org.opencontainers.image.source=https://github.com/AirryCo/spt-server
org.opencontainers.image.url=https://github.com/AirryCo/spt-server org.opencontainers.image.url=https://github.com/AirryCo/spt-server
org.opencontainers.image.revision=${{ steps.debug-info.outputs.COMMIT_ID_WHOLE }} org.opencontainers.image.revision=${{ steps.debug-info.outputs.COMMIT_ID_WHOLE }}
platforms: linux/amd64 platforms: linux/amd64,linux/arm64
- name: Push Linux Server Code And Tag - name: Push Linux Server Code And Tag
run: | run: |
@@ -475,11 +475,12 @@ jobs:
> [!WARNING] > [!WARNING]
> After downloading, please use extraction software like WinRAR or [7-Zip](https://www.7-zip.org/) to unzip the files, then copy them to the Tarkov root directory. Do not use Windows File Explorer to directly open and copy the files. > After downloading, please use extraction software like WinRAR or [7-Zip](https://www.7-zip.org/) to unzip the files, then copy them to the Tarkov root directory. Do not use Windows File Explorer to directly open and copy the files.
***Docker Supported For linux/amd64***: ***Docker Supported For linux/amd64 and linux/arm64***:
```bash ```bash
docker pull stblog/spt-server:${{ needs.prepare.outputs.TARGET_TAG }} docker pull stblog/spt-server:${{ needs.prepare.outputs.TARGET_TAG }}
docker pull ghcr.io/airryco/spt-server:${{ needs.prepare.outputs.TARGET_TAG }} docker pull ghcr.io/airryco/spt-server:${{ needs.prepare.outputs.TARGET_TAG }}
docker pull registry.cn-shenzhen.aliyuncs.com/spt-server/spt-server:${{ needs.prepare.outputs.TARGET_TAG }}
``` ```
Full Changelog: Full Changelog:
@@ -514,11 +515,12 @@ jobs:
> [!WARNING] > [!WARNING]
> After downloading, please use extraction software like WinRAR or [7-Zip](https://www.7-zip.org/) to unzip the files, then copy them to the Tarkov root directory. Do not use Windows File Explorer to directly open and copy the files. > After downloading, please use extraction software like WinRAR or [7-Zip](https://www.7-zip.org/) to unzip the files, then copy them to the Tarkov root directory. Do not use Windows File Explorer to directly open and copy the files.
***Docker Supported For linux/amd64***: ***Docker Supported For linux/amd64 and linux/arm64***:
```bash ```bash
docker pull stblog/spt-server:${{ needs.prepare.outputs.TARGET_TAG }} docker pull stblog/spt-server:${{ needs.prepare.outputs.TARGET_TAG }}
docker pull ghcr.io/airryco/spt-server:${{ needs.prepare.outputs.TARGET_TAG }} docker pull ghcr.io/airryco/spt-server:${{ needs.prepare.outputs.TARGET_TAG }}
docker pull registry.cn-shenzhen.aliyuncs.com/spt-server/spt-server:${{ needs.prepare.outputs.TARGET_TAG }}
``` ```
Full Changelog: Full Changelog: