Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added all prune on push in main #48

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/docker-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ jobs:
sudo git checkout load
sudo git pull origin load
cd ./cmd/microservices
sudo docker system prune
sudo docker volume rm $(docker volume ls -q) -f
sudo docker system prune -f
sudo docker-compose down
sudo docker-compose up -d --build
EOF
4 changes: 2 additions & 2 deletions .github/workflows/docker-prune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
sudo git checkout load
sudo git pull origin load
cd ./cmd/microservices
sudo docker system prune
sudo docker volume rm $(docker volume ls -q)
sudo docker system prune -f --volumes
sudo docker volume rm $(docker volume ls -q) -f
sudo docker-compose down
sudo docker-compose up -d --build
EOF
2 changes: 1 addition & 1 deletion internal/custom_subscription/service/create_custom_sub.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (b *Behavior) validateCustomSub(title, description string, layer, cost int)
return title, description, errors.Wrap(err, "title")
}

description, ok = validate.Description(title)
description, ok = validate.Description(description)
if !ok {
return title, description, errors.Wrap(err, "description")
}
Expand Down
Loading