From 196cd53e4ee75d9f96525b4e702a08b9bd5a6253 Mon Sep 17 00:00:00 2001 From: Jelle Meeus Date: Mon, 9 Dec 2024 17:06:02 +0100 Subject: [PATCH] fix: soulseek tag (#13) * fix: vpn, soulseek tag * fix: novpn, soulseek tag * build: allow "latest" fixes soulseek --- .github/workflows/validate-docker-compose.yml | 25 ++++++++++++++++++- docker-compose-novpn.yml | 2 +- docker-compose-vpn.yml | 2 +- 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate-docker-compose.yml b/.github/workflows/validate-docker-compose.yml index 5cb8392..3c7884b 100644 --- a/.github/workflows/validate-docker-compose.yml +++ b/.github/workflows/validate-docker-compose.yml @@ -17,10 +17,33 @@ jobs: - name: Install dclint run: npm install --save-dev dclint + # Create config file to allow "latest" tag + - name: Create config file + run: | + cat < config.json + { + "rules": { + "service-image-require-explicit-tag": [ + 1, + { + "prohibitedTags": [ + "edge", + "test", + "nightly", + "dev", + "beta", + "canary", + ] + } + ] + } + } + EOL + - name: Run and Check for linting problems id: check-dclint-output run: | - npx dclint . -r | tee dclint-output.log || true + npx dclint . -r -c config.json | tee dclint-output.log || true if grep -E "✖ [0-9]+ problems" dclint-output.log; then echo "::error::Linting errors detected" exit 1 diff --git a/docker-compose-novpn.yml b/docker-compose-novpn.yml index 46f5ca6..04fb54e 100755 --- a/docker-compose-novpn.yml +++ b/docker-compose-novpn.yml @@ -121,7 +121,7 @@ services: restart: unless-stopped soulseek: - image: realies/soulseek:tag + image: realies/soulseek:latest container_name: soulseek volumes: - /media/${USER}/Data/appdata/soulseek:/data/.SoulseekQt diff --git a/docker-compose-vpn.yml b/docker-compose-vpn.yml index b079bbb..49f77e6 100755 --- a/docker-compose-vpn.yml +++ b/docker-compose-vpn.yml @@ -117,7 +117,7 @@ services: restart: unless-stopped soulseek: - image: realies/soulseek:tag + image: realies/soulseek:latest container_name: soulseek volumes: - /media/${USER}/Data/appdata/soulseek:/data/.SoulseekQt