mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-12 16:50:45 -05:00
Update Docker images and build scripts
This commit is contained in:
parent
94750081d0
commit
e58584cac9
@ -43,7 +43,7 @@ jobs:
|
||||
if: needs.check-tag-exists.outputs.proceed == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: refringe/spt-build-server:0.0.6
|
||||
image: refringe/spt-build-server:1.0.0
|
||||
outputs:
|
||||
build_type: ${{ steps.build-type.outputs.build_type }}
|
||||
steps:
|
||||
@ -137,7 +137,7 @@ jobs:
|
||||
if: needs.check-tag-exists.outputs.proceed == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: refringe/spt-build-dotnet:0.0.6
|
||||
image: refringe/spt-build-modules:1.0.0
|
||||
outputs:
|
||||
client_version: ${{ steps.extract-client-version.outputs.client_version }}
|
||||
steps:
|
||||
@ -223,7 +223,7 @@ jobs:
|
||||
if: needs.check-tag-exists.outputs.proceed == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: refringe/spt-build-dotnet:0.0.6
|
||||
image: refringe/spt-build-launcher:1.0.0
|
||||
steps:
|
||||
- name: Clone
|
||||
run: |
|
||||
@ -249,7 +249,7 @@ jobs:
|
||||
needs: [check-tag-exists, build-server, build-modules, build-launcher]
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: refringe/spt-build-server:0.0.6
|
||||
image: refringe/spt-build-server:1.0.0
|
||||
steps:
|
||||
- name: Clean Directory
|
||||
run: |
|
||||
|
18
Dockerfile.launcher
Normal file
18
Dockerfile.launcher
Normal file
@ -0,0 +1,18 @@
|
||||
# Use the .NET 8.0 SDK base image
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0
|
||||
|
||||
# Configure Node.js v20 repository
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.10 | bash
|
||||
|
||||
# Install necessary tools and dependencies
|
||||
# - git (duh)
|
||||
# - zstd (caching action dependancy)
|
||||
# - wget (downloading module packages)
|
||||
# - jq (fetching data from JSON files)
|
||||
# - p7zip-full (extracting archives)
|
||||
# - nodejs (artifact action dependancy)
|
||||
# - tree (pretty print build directory structure)
|
||||
RUN apt-get update && \
|
||||
apt-get install -y git zstd wget jq p7zip-full nodejs tree && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
12
README.md
12
README.md
@ -37,10 +37,14 @@ Be sure to update the version number to the next available version before buildi
|
||||
|
||||
```
|
||||
# Build and push the spt-build-server Docker image to the Docker Hub
|
||||
docker build -t refringe/spt-build-server:0.0.0 -t refringe/spt-build-server:latest -f Dockerfile.node .
|
||||
docker build -t refringe/spt-build-server:0.0.0 -t refringe/spt-build-server:latest -f Dockerfile.server .
|
||||
docker push refringe/spt-build-server --all-tags
|
||||
|
||||
# Build and push the spt-build-dotnet Docker image to the Docker Hub
|
||||
docker build -t refringe/spt-build-dotnet:0.0.0 -t refringe/spt-build-dotnet:latest -f Dockerfile.dotnet .
|
||||
docker push refringe/spt-build-dotnet --all-tags
|
||||
# Build and push the spt-build-modules Docker image to the Docker Hub
|
||||
docker build -t refringe/spt-build-modules:0.0.0 -t refringe/spt-build-modules:latest -f Dockerfile.modules .
|
||||
docker push refringe/spt-build-modules --all-tags
|
||||
|
||||
# Build and push the spt-build-launcher Docker image to the Docker Hub
|
||||
docker build -t refringe/spt-build-launcher:0.0.0 -t refringe/spt-build-launcher:latest -f Dockerfile.launcher .
|
||||
docker push refringe/spt-build-launcher --all-tags
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user