Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna-devv committed Nov 28, 2024
1 parent 968e72f commit f69d5d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set repository variables in lowercase
run: |
echo "REPOSITORY_OWNER=${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]' >> $GITHUB_ENV
echo "REPOSITORY_NAME=${{ github.event.repository.name }}" | tr '[:upper:]' '[:lower:]' >> $GITHUB_ENV
- name: Build Docker image
run: |
docker build -t ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest .
docker build -t ghcr.io/${REPOSITORY_OWNER}/${REPOSITORY_NAME}:latest .
- name: Push Docker image
run: |
docker push ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
docker push ghcr.io/${REPOSITORY_OWNER}/${REPOSITORY_NAME}:latest
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To deploy this project, create the following `docker-compose.yml`:
```yml
services:
app:
image: ghcr.io/Luna-devv/mellow-transgirl:latest
image: ghcr.io/luna-devv/mellow-transgirl:latest
container_name: mw-transgirl
ports:
- "8080:8080"
Expand Down

0 comments on commit f69d5d9

Please sign in to comment.