Skip to content

Commit c08352c

Browse files
fix: hard code repo name
1 parent 8cb78ac commit c08352c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy_docker_aws.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,17 @@ jobs:
5858
echo "Debug: Listing directory contents..."
5959
ls -la /home/${{ vars.AWS_EC2_USER }}
6060
echo "Debug: Updating image names in compose file..."
61-
sed -i "s|ghcr.io/aet-devops25/w05-template|ghcr.io/${{ github.repository_owner }}/team-devoops|g" /home/${{ vars.AWS_EC2_USER }}/deployment/compose.aws.yml
61+
sed -i "s|ghcr.io/aet-devops25/w05-template|ghcr.io/aet-devops25/team-devoops|g" /home/${{ vars.AWS_EC2_USER }}/deployment/compose.aws.yml
6262
echo "Debug: Checking compose file..."
6363
cat /home/${{ vars.AWS_EC2_USER }}/deployment/compose.aws.yml
6464
echo "Logging into Docker registry..."
6565
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
6666
echo "Verifying images exist..."
67-
docker pull ghcr.io/${{ github.repository_owner }}/team-devoops/client:latest || echo "Client image not found"
68-
docker pull ghcr.io/${{ github.repository_owner }}/team-devoops/gateway:latest || echo "Gateway image not found"
69-
docker pull ghcr.io/${{ github.repository_owner }}/team-devoops/chat:latest || echo "Chat image not found"
70-
docker pull ghcr.io/${{ github.repository_owner }}/team-devoops/matching:latest || echo "Matching image not found"
71-
docker pull ghcr.io/${{ github.repository_owner }}/team-devoops/user:latest || echo "User image not found"
67+
docker pull ghcr.io/aet-devops25/team-devoops/client:latest || echo "Client image not found"
68+
docker pull ghcr.io/aet-devops25/team-devoops/gateway:latest || echo "Gateway image not found"
69+
docker pull ghcr.io/aet-devops25/team-devoops/chat:latest || echo "Chat image not found"
70+
docker pull ghcr.io/aet-devops25/team-devoops/matching:latest || echo "Matching image not found"
71+
docker pull ghcr.io/aet-devops25/team-devoops/user:latest || echo "User image not found"
7272
echo "Starting Docker Compose..."
7373
cd /home/${{ vars.AWS_EC2_USER }}
7474
docker compose -f deployment/compose.aws.yml --env-file=.env.prod up --pull=always -d

0 commit comments

Comments
 (0)