Compare commits

...

10 Commits

Author SHA1 Message Date
7b274706c2 Reverting tests
All checks were successful
Build on Commit / build-and-push-image (push) Successful in 10m18s
2024-03-01 14:43:14 -06:00
a10ecf1262 Testing build trigger 2024-03-01 14:42:00 -06:00
a84704ca4c Testing build trigger 2024-03-01 14:39:49 -06:00
db8da3e360 One additional change 2024-03-01 14:38:58 -06:00
1e5960acd9 Update, add schedules 2024-03-01 14:38:17 -06:00
6b87fc9598 Change ownership of home directory 2024-01-24 09:51:17 -06:00
f68a1f83e7 Clean up image, reduce size 2024-01-24 09:37:08 -06:00
611083f954 Use new repo 2024-01-22 15:17:43 -06:00
9e4b61297f Test by triggering with a commit 2024-01-22 15:13:10 -06:00
a5b88cf635 Try changing the value elsewhere 2024-01-22 15:10:56 -06:00
4 changed files with 29 additions and 11 deletions

View File

@@ -6,9 +6,11 @@ on:
branches:
- "main"
paths:
- "SteamCMD-Installer/*"
# schedule:
# - cron: "37 18 * * *"
- "SteamCMD-Installer/**"
paths-ignore:
- ".gitea/**"
schedule:
- cron: "0 0 * * 0"
env:
REGISTRY: gitea.taco.quest
@@ -29,6 +31,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@@ -44,7 +49,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: type=raw,value=latest,enable={{is_default_branch}}
tags: type=raw,value=steamcmd-installer,enable={{is_default_branch}}
- name: Build and push Docker image
uses: docker/build-push-action@v5
@@ -52,4 +57,4 @@ jobs:
context: ./SteamCMD-Installer
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:steamcmd-installer
labels: ${{ steps.meta.outputs.labels }}

View File

@@ -7,8 +7,10 @@ on:
- "main"
paths:
- "SteamCMD/*"
# schedule:
# - cron: "37 18 * * *"
paths-ignore:
- ".gitea/**"
schedule:
- cron: "0 1 * * 0"
env:
REGISTRY: gitea.taco.quest
@@ -29,6 +31,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@@ -44,7 +49,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: type=raw,value=latest,enable={{is_default_branch}}
tags: type=raw,value=steamcmd,enable={{is_default_branch}}
- name: Build and push Docker image
uses: docker/build-push-action@v5

View File

@@ -20,5 +20,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
lib32gcc-s1 \
steamcmd && \
ln -s /usr/games/steamcmd /bin/steamcmd && \
useradd ${USER} -d ${HOME}
#Test
useradd -U -d ${HOME} -s /bin/false ${USER} && \
# Clean up image
apt-get autoremove && \
apt-get clean && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/* \
/var/log/* && \
chown ${USER}:${USER} /home/container

View File

@@ -1,4 +1,4 @@
FROM gethec/pterodactyl-yolks:steamcmd-installer
FROM gitea.taco.quest/mindfang/pterodactyl-yolks:steamcmd-installer
USER ${USER}
COPY entrypoint.sh /entrypoint.sh