Refactor Docker configuration in deployment workflow and compose file
All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 41s
All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 41s
This commit is contained in:
@@ -16,10 +16,7 @@ jobs:
|
||||
|
||||
- name: Rebuild and Deploy with Docker Compose
|
||||
run: |
|
||||
# Use the host's Docker to build the image defined in docker-compose.yml
|
||||
# The '--no-cache' flag ensures it picks up any changes from your repository
|
||||
# The 'up -d' command will recreate only the services that have changed
|
||||
# docker compose build
|
||||
docker build --target release -t local/gabriel-blog:latest .
|
||||
docker compose up -d
|
||||
|
||||
# Clean up any old, unused images to save disk space
|
||||
|
Reference in New Issue
Block a user