diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 1d6d27bb0..85f97773c 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -70,15 +70,15 @@ jobs: uses: docker/build-push-action@v5 with: push: true - tags: woffee/wis_club_api:${{ github.sha }} # Uses the Git SHA for tagging + tags: rnb2/is218:${{ github.sha }} # Uses the Git SHA for tagging platforms: linux/amd64,linux/arm64 # Multi-platform support - cache-from: type=registry,ref=woffee/wis_club_api:cache + cache-from: type=registry,ref=rnb2/is218:cache cache-to: type=inline,mode=max - name: Scan the Docker image uses: aquasecurity/trivy-action@master with: - image-ref: 'woffee/wis_club_api:${{ github.sha }}' + image-ref: 'rnb2/is218:${{ github.sha }}' format: 'table' exit-code: '1' # Fail the job if vulnerabilities are found ignore-unfixed: true diff --git a/readme.md b/readme.md index 9b0d27151..a0a0140ab 100644 --- a/readme.md +++ b/readme.md @@ -62,7 +62,7 @@ docker compose exec fastapi alembic revision --autogenerate -m 'added admin' ### Apply database migrations: ``` -docker compose exec fastapi alembic upgrade head +docker compose exec fastapi alembic upgrade head ``` ## Assignment Objectives diff --git a/tests/conftest.py b/tests/conftest.py index 6bd7998ac..a4c801db0 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -260,4 +260,4 @@ def user_response_data(): @pytest.fixture def login_request_data(): - return {"username": "john_doe_123", "password": "SecurePassword123!"} \ No newline at end of file + return {"email": "john.doe.new@example.com", "password": "SecurePassword123!"} \ No newline at end of file