Skip to content

Commit

Permalink
update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcel-gepardec committed Aug 14, 2024
1 parent de639d0 commit e496f01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ jobs:
grep -q 'host.docker.internal' /etc/hosts || { echo "Add '172.17.0.1 host.docker.internal' to /etc/hosts"; exit 1; }
docker compose down
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
docker pull ghcr.io/${{ steps.lower-repo.outputs.repository }}:latest
docker image prune -f
docker compose up -d
rm docker-compose.yml
rm -rf src/
rm -rf flyway-db/
# docker compose down -v | -v removes all volumes as well

0 comments on commit e496f01

Please sign in to comment.