Skip to content

armgit / lyftr

Public Imported from GitHub
0

Self-hosted fitness tracker. Log workouts, track nutrition, and monitor progress. Docker deployment, mobile-friendly.

Fix Docker image names: use DOCKERHUB_USERNAME secret in CI, correct username in compose

Cawlumm246fc4f22acc
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 99c12ee..3c47f36 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -34,7 +34,7 @@ jobs:
- uses: docker/metadata-action@v5
id: meta
with:
- images: cawlumm/lyftr-backend
+ images: ${{ secrets.DOCKERHUB_USERNAME }}/lyftr-backend
tags: |
type=ref,event=tag
type=raw,value=latest,enable={{is_default_branch}}
@@ -62,7 +62,7 @@ jobs:
- uses: docker/metadata-action@v5
id: meta
with:
- images: cawlumm/lyftr-frontend
+ images: ${{ secrets.DOCKERHUB_USERNAME }}/lyftr-frontend
tags: |
type=ref,event=tag
type=raw,value=latest,enable={{is_default_branch}}
diff --git a/docker-compose.yml b/docker-compose.yml
index 9d60724..c4c04b7 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -2,7 +2,7 @@ version: '3.8'
services:
backend:
- image: cawlumm/lyftr-backend:latest
+ image: cwlumm/lyftr-backend:latest
build: ./backend
restart: unless-stopped
volumes:
@@ -23,7 +23,7 @@ services:
retries: 3
frontend:
- image: cawlumm/lyftr-frontend:latest
+ image: cwlumm/lyftr-frontend:latest
build: ./web
restart: unless-stopped
ports: