Skip to content

Commit 6aac885

Browse files
committed
prettier
1 parent bc4ab60 commit 6aac885

File tree

3 files changed

+51
-50
lines changed

3 files changed

+51
-50
lines changed

.github/workflows/action-docker-publish.yml

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -10,54 +10,54 @@ on:
1010

1111
jobs:
1212
build-ubuntu-2404:
13-
name: Build Ubuntu 24.04
14-
runs-on: ubuntu-latest
15-
permissions:
16-
packages: write
17-
contents: read
18-
attestations: write
19-
id-token: write
20-
steps:
21-
- name: Checkout
22-
uses: actions/checkout@v5
23-
24-
- name: Setup QEMU
25-
uses: docker/setup-qemu-action@v3
26-
27-
- name: Login to Docker Hub
28-
uses: docker/login-action@v3
29-
with:
30-
username: ${{ secrets.DOCKER_HUB_USERNAME }}
31-
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
32-
33-
- name: Login to GitHub Container Registry
34-
uses: docker/login-action@v3
35-
with:
36-
registry: ghcr.io
37-
username: ${{ github.actor }}
38-
password: ${{ secrets.GITHUB_TOKEN }}
39-
40-
- name: Extract metadata (tags, labels) for Docker
41-
id: meta
42-
uses: docker/metadata-action@v5
43-
with:
44-
images: |
45-
gameservermanagers/linuxgsm
46-
ghcr.io/gameservermanagers/linuxgsm
47-
tags: |
48-
latest
49-
ubuntu
50-
ubuntu-24.04
51-
52-
- name: Build and push (Ubuntu 24.04)
53-
uses: docker/build-push-action@v6
54-
with:
55-
context: .
56-
file: ./Dockerfile.ubuntu-2404
57-
platforms: linux/amd64
58-
push: true
59-
tags: ${{ steps.meta.outputs.tags }}
60-
labels: ${{ steps.meta.outputs.labels }}
13+
name: Build Ubuntu 24.04
14+
runs-on: ubuntu-latest
15+
permissions:
16+
packages: write
17+
contents: read
18+
attestations: write
19+
id-token: write
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v5
23+
24+
- name: Setup QEMU
25+
uses: docker/setup-qemu-action@v3
26+
27+
- name: Login to Docker Hub
28+
uses: docker/login-action@v3
29+
with:
30+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
31+
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
32+
33+
- name: Login to GitHub Container Registry
34+
uses: docker/login-action@v3
35+
with:
36+
registry: ghcr.io
37+
username: ${{ github.actor }}
38+
password: ${{ secrets.GITHUB_TOKEN }}
39+
40+
- name: Extract metadata (tags, labels) for Docker
41+
id: meta
42+
uses: docker/metadata-action@v5
43+
with:
44+
images: |
45+
gameservermanagers/linuxgsm
46+
ghcr.io/gameservermanagers/linuxgsm
47+
tags: |
48+
latest
49+
ubuntu
50+
ubuntu-24.04
51+
52+
- name: Build and push (Ubuntu 24.04)
53+
uses: docker/build-push-action@v6
54+
with:
55+
context: .
56+
file: ./Dockerfile.ubuntu-2404
57+
platforms: linux/amd64
58+
push: true
59+
tags: ${{ steps.meta.outputs.tags }}
60+
labels: ${{ steps.meta.outputs.labels }}
6161

6262
build-ubuntu-2204:
6363
name: Build Ubuntu 22.04
@@ -157,7 +157,7 @@ jobs:
157157

158158
package-cleanup:
159159
name: Cleanup Old GitHub Packages
160-
needs: [ build-ubuntu-2004, build-ubuntu-2204, build-ubuntu-2404 ]
160+
needs: [build-ubuntu-2004, build-ubuntu-2204, build-ubuntu-2404]
161161
runs-on: ubuntu-latest
162162
steps:
163163
- name: Delete Package Versions

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# LinuxGSM Base Docker Image
22

33
## This is the base LinuxGSM image only.
4+
45
## Use <a href="https://github.com/GameServerManagers/docker-gameserver">docker-gameserver</a> for full game servers
56

67
<p align="center">

entrypoint-user.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ fi
106106
# Update or validate game server
107107
if [ -z "${install}" ]; then
108108
echo -e ""
109-
if [ "${VALIDATE_ON_START,,}" = "true" ]; then
109+
if [ "${VALIDATE_ON_START,,}" = "true" ]; then
110110
echo -e "Validating ${GAMESERVER}"
111111
echo -e "================================="
112112
./"${GAMESERVER}" validate

0 commit comments

Comments
 (0)