fix: workflow
This commit is contained in:
3
.github/workflows/docker-publish.yml
vendored
3
.github/workflows/docker-publish.yml
vendored
@@ -20,6 +20,8 @@ jobs:
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
attestations: write
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -50,6 +52,7 @@ jobs:
|
||||
type=raw,value=${{ github.event.inputs.tag }},enable=${{ github.event_name == 'workflow_dispatch' }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
id: build
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
|
@@ -28,6 +28,9 @@ RUN uv run playwright install-deps chromium
|
||||
# Copy application code
|
||||
COPY main.py .
|
||||
|
||||
# Copy sample images for mock data testing
|
||||
COPY images/ ./images/
|
||||
|
||||
# Set environment variables
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV PYTHONIOENCODING=utf-8
|
||||
|
Reference in New Issue
Block a user