align dependency runtime baselines across Docker and CI
This commit is contained in:
7
.github/workflows/backend-release.yml
vendored
7
.github/workflows/backend-release.yml
vendored
@@ -10,16 +10,17 @@ on:
|
||||
|
||||
env:
|
||||
IMAGE_NAME: "voyage-backend"
|
||||
PYTHON_IMAGE: "python:3.13-slim"
|
||||
|
||||
jobs:
|
||||
upload:
|
||||
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 }}
|
||||
@@ -45,6 +46,8 @@ jobs:
|
||||
with:
|
||||
context: ./backend
|
||||
platforms: linux/amd64,linux/arm64
|
||||
build-args: |
|
||||
PYTHON_IMAGE=${{ env.PYTHON_IMAGE }}
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ steps.repo_owner.outputs.repo_owner }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }}
|
||||
|
||||
Reference in New Issue
Block a user