Skip to content

Commit 24d1e12

Browse files
Merge pull request #24 from devlopersabbir/sabbir
only push server to the docker hub
2 parents 549d7d1 + 04a116e commit 24d1e12

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/cd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- name: Push Docker Image 🚀
6767
run: |
6868
echo "Pushing Docker image: $IMAGE_TAG"
69-
docker compose --profile prod push
69+
docker compose --profile prod:push push
7070
if [ $? -eq 0 ]; then
7171
echo "✅ Docker image $IMAGE_TAG pushed successfully!"
7272
else

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
services:
22
app:
33
profiles:
4+
- prod:push
45
- prod
56
- dev
67
build:

0 commit comments

Comments
 (0)