publish-mock-server
Build and publish the mock-server Docker image to GitHub Container Registry. Use when mock server fixtures or code have changed and need to be published.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Build and publish the mock-server Docker image to GitHub Container Registry. Use when mock server fixtures or code have changed and need to be published.
How to use
Upewnij się, że Docker jest zainstalowany i uruchomiony na Twojej maszynie. Zaloguj się do GitHub Container Registry poleceniem
docker login ghcr.ioi podaj swoje dane uwierzytelniające.Uruchom umiejętność publish-mock-server, gdy dokonasz zmian w fixtures (katalog
mock-server/fixtures/), kodzie serwera (plikiserver.ts,routes.ts) lub schematach API, które wpływają na odpowiedzi mock-serwera.Umiejętność automatycznie zbuduje obraz Docker dla obu architektur (linux/amd64 i linux/arm64) i opublikuje go do
ghcr.io/vfarcic/dot-ai-mock-server:latestza pomocądocker buildx build.Poczekaj na potwierdzenie w logu, że obraz został pomyślnie wypchnięty do rejestru. Sprawdź, czy dane wyjściowe pokazują obie platformy.
Po publikacji inne usługi (np. dot-ai-ui) mogą używać opublikowanego obrazu w swoich konfiguracjach Docker Compose, odwołując się do
ghcr.io/vfarcic/dot-ai-mock-server:latestna porcie 3001.