Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}

- name: 🐳 Build and push Backend Docker image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good update to use the latest version of the docker/build-push-action. However, consider pinning to a specific commit SHA for better security and reproducibility:

uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v7.6.0

This prevents potential supply chain attacks and ensures the workflow behaves consistently across different runs. You can find the commit SHA for v7 releases on the GitHub repository.

with:
context: ./backend-agent
file: ./backend-agent/Dockerfile
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}

- name: 🐳 Build and push Frontend Docker image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same recommendation as above - consider pinning to a specific commit SHA for enhanced security:

uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v7.6.0

This ensures both Docker build steps use the same secure, pinned version of the action.

with:
context: ./frontend
file: ./frontend/Dockerfile
Expand Down