Skip to content
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
6 changes: 3 additions & 3 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,4 @@ def user_response_data():

@pytest.fixture
def login_request_data():
return {"username": "john_doe_123", "password": "SecurePassword123!"}
return {"email": "john.doe.new@example.com", "password": "SecurePassword123!"}