From 53d05947088bab646e385b368e0190e1d8193bb1 Mon Sep 17 00:00:00 2001 From: Sella-GH <147769367+Sella-GH@users.noreply.github.com> Date: Sun, 19 Jan 2025 17:52:40 +0100 Subject: [PATCH] Also remove it from release --- .github/workflows/release.yml | 3 +++ CHANGELOG.md | 5 +++++ release.Dockerfile | 2 +- release.alpine.Dockerfile | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8a14332..29731bc9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,7 +75,10 @@ jobs: mv ./LICENSE ./docker-zip/LICENSE mv ./README.md ./docker-zip/README.md mv ./SECURITY.md ./docker-zip/SECURITY.md + mkdir -p ./docker-zip/AzzyBot/Backups + touch ./docker-zip/AzzyBot/Backups/.keep mkdir -p ./docker-zip/AzzyBot/Logs + touch ./docker-zip/AzzyBot/Backups/.keep mkdir -p ./docker-zip/AzzyBot/Modules/AzuraCast/Files mkdir -p ./docker-zip/AzzyBot/Modules/MusicStreaming/Files mv ./src/AzzyBot.Bot/Modules/MusicStreaming/Files/application.yml ./docker-zip/AzzyBot/Modules/MusicStreaming/Files/application.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index bb7440db..12801cbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2.3.0 +### General +- We're now using the new ARM64 GitHub Actions runner for the Docker images + - This results in a faster build time and more compact actions workflow + ## 2.2.3 - 2025-01-15 ### Dependencies - Updated [DSharpPlus](https://github.com/DSharpPlus/DSharpPlus) to version 5.0.0-nightly-02448 diff --git a/release.Dockerfile b/release.Dockerfile index e45451f1..5be56d14 100644 --- a/release.Dockerfile +++ b/release.Dockerfile @@ -37,7 +37,7 @@ RUN sed -i "s\Commit not found\\$COMMIT\g" /app/Modules/Core/Files/AppStats.json && sed -i "s\Lines of source code not found\\$LOC_CS\g" /app/Modules/Core/Files/AppStats.json # Add new user -RUN groupadd azzy && useradd -m -s /bin/bash -g azzy azzy && chown -R azzy:azzy /app && chmod 0755 -R /app +RUN useradd -M -U azzy && chown -R azzy:azzy /app && chmod 0755 -R /app USER azzy # Start the app diff --git a/release.alpine.Dockerfile b/release.alpine.Dockerfile index 0ad69a96..e4963695 100644 --- a/release.alpine.Dockerfile +++ b/release.alpine.Dockerfile @@ -37,7 +37,7 @@ RUN sed -i "s\Commit not found\\$COMMIT\g" /app/Modules/Core/Files/AppStats.json && sed -i "s\Lines of source code not found\\$LOC_CS\g" /app/Modules/Core/Files/AppStats.json # Add new user -RUN addgroup azzy && adduser -D -G azzy azzy && chown -R azzy:azzy /app && chmod 0755 -R /app +RUN adduser -D -H azzy && chown -R azzy:azzy /app && chmod 0755 -R /app USER azzy # Start the app