Skip to content

Commit

Permalink
fix: soulseek tag (#13)
Browse files Browse the repository at this point in the history
* fix: vpn, soulseek tag

* fix: novpn, soulseek tag

* build: allow "latest"

fixes soulseek
  • Loading branch information
sogladev authored Dec 9, 2024
1 parent 5d71047 commit 196cd53
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
25 changes: 24 additions & 1 deletion .github/workflows/validate-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOL > 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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-novpn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-vpn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 196cd53

Please sign in to comment.