File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 2222 - name : Generate tags
2323 run : |
2424 repo=${{ github.repository }};
25- echo "IMG_TAG=ghcr.io/${repo,,}/5k-dedi:${GITHUB_SHA::7}" >> $GITHUB_ENV
25+ echo "CURR_TAG=ghcr.io/${repo,,}/5k-dedi:${GITHUB_SHA::7}" >> $GITHUB_ENV
26+ echo "LATEST_TAG=ghcr.io/${repo,,}/5k-dedi:latest" >> $GITHUB_ENV
2627
2728 - name : Set up Docker Buildx
2829 uses : docker/setup-buildx-action@v2
3940 with :
4041 context : .
4142 push : true
42- tags : ${{ env.IMG_TAG }}
43+ tags : |
44+ ${{ env.CURR_TAG }}
45+ ${{ env.LATEST_TAG }}
Original file line number Diff line number Diff line change 1+ # SCP-5k Dedicated Server For Docker
2+
3+ <br />
4+
5+ ### Usage
6+
7+ [ Pull docker image] ( https://github.com/LightBlueCube/5k-dedi-docker/pkgs/container/5k-dedi-docker%2F5k-dedi )
8+
9+ Enter command
10+
11+ > The text under "<>" meanning you have to replace it by youself according to your needs, and delete "<>"
12+
13+ ``` bash
14+ docker run --name < any_name> -p < port> :< port> -v < any_path_on_host_for_place_server_files> :" /home/5k/Steam/steamapps/common/SCP Pandemic Dedicated Server" 5k-dedi
15+ ```
16+
17+ Add -d if you want it running on background
18+
19+ Add sudo before the command if you arent root user
You can’t perform that action at this time.
0 commit comments