From 249cedfaabe558334d925a0103570828810ab7f3 Mon Sep 17 00:00:00 2001 From: Jelle Meeus Date: Mon, 9 Dec 2024 16:51:37 +0100 Subject: [PATCH 1/3] fix: vpn, soulseek tag --- docker-compose-vpn.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From ac7c32844081580adfe88731086053a687f5c2d3 Mon Sep 17 00:00:00 2001 From: Jelle Meeus Date: Mon, 9 Dec 2024 16:52:11 +0100 Subject: [PATCH 2/3] fix: novpn, soulseek tag --- docker-compose-novpn.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From d532233fe55e14905ea488447dc46c70406caa9c Mon Sep 17 00:00:00 2001 From: Jelle Meeus Date: Mon, 9 Dec 2024 17:05:27 +0100 Subject: [PATCH 3/3] build: allow "latest" fixes soulseek --- .github/workflows/validate-docker-compose.yml | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) 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