chore: update latest workflows and dev compose overrides

Allow manual dispatch and self-triggering path updates for latest image workflows while bumping checkout/login actions. Adjust dev compose to favor local builds and bypass backend image entrypoint for local startup.
This commit is contained in:
2026-03-07 20:20:20 +00:00
parent 288f81f631
commit 63996a532c
3 changed files with 13 additions and 8 deletions

View File

@@ -5,11 +5,13 @@ permissions:
packages: write
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "backend/**"
- ".github/workflows/backend-latest.yml"
env:
IMAGE_NAME: "voyage-backend"
@@ -19,17 +21,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.ACCESS_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}