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