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:
8
.github/workflows/backend-latest.yml
vendored
8
.github/workflows/backend-latest.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user