Skip to content

Commit

Permalink
updated the docker-publish for no changes
Browse files Browse the repository at this point in the history
hovhannisyannelli committed Nov 29, 2024
1 parent 262b618 commit 737bcd6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -48,6 +48,8 @@ jobs:
if: success()
run: |
sed -i "s|image: :.*|image: 123456789nelli/maternal_health_classification:${{ steps.meta.outputs.version }}|" docker-compose.yml
echo "Updated docker-compose.yml:"
cat docker-compose.yml
- name: Commit and push updated docker-compose.yml
if: success()
@@ -57,3 +59,6 @@ jobs:
git add docker-compose.yml
git commit -m "Update docker-compose.yml with new image tag"
git push
else
echo "No changes to commit"
fi

0 comments on commit 737bcd6

Please sign in to comment.