@@ -17,19 +17,19 @@ jobs:
1717 steps :
1818 # Get code
1919 - name : Checkout repository
20- uses : actions/checkout@v4
20+ uses : actions/checkout@v4
2121
2222 # Set up Python
2323 - name : Set up Python
24- uses : actions/setup-python@v5
25- with :
26- python-version : " 3.11"
24+ uses : actions/setup-python@v5
25+ with :
26+ python-version : " 3.11"
2727
2828 # Install dependencies
2929 - name : Install dependencies
30- run : |
31- python -m pip install --upgrade pip
32- pip install -r backend/requirements.txt
30+ run : |
31+ python -m pip install --upgrade pip
32+ pip install -r backend/requirements.txt
3333
3434 # Run tests
3535 # - name: Run tests
@@ -38,17 +38,17 @@ jobs:
3838
3939 # Log in to Github Container Registry
4040 - name : Log in to GHCR
41- if : github.ref == 'refs/heads/main'
42- uses : docker/login-action@v3
43- with :
44- registry : ghcr.io
45- username : ${{ github.actor }}
46- password : ${{ secrets.GITHUB_TOKEN }}
41+ if : github.ref == 'refs/heads/main'
42+ uses : docker/login-action@v3
43+ with :
44+ registry : ghcr.io
45+ username : ${{ github.actor }}
46+ password : ${{ secrets.GITHUB_TOKEN }}
4747
4848 # Build and push Docker image (for main only)
4949 - name : Build and push Docker image
50- if : github.ref == 'refs/heads/main'
51- run : |
50+ if : github.ref == 'refs/heads/main'
51+ run : |
5252 IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/eventrelay
5353 IMAGE_TAG=${{ github.sha }}
5454
6060
6161 docker push $IMAGE_NAME:latest
6262 docker push $IMAGE_NAME:$IMAGE_TAG
63-
0 commit comments