Skip to content

tiny fix in the CI pipeline #2

tiny fix in the CI pipeline

tiny fix in the CI pipeline #2

Workflow file for this run

name: Build and Package Docker PDF Server
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build Docker Image
run: |
docker build --platform linux/amd64 -t ghcr.io/ash0ne/docker-pdf-server:latest .
- name: Start app and Test Docker Image
run: |
docker run -d -e DOCKER_PDF_SERVER_USER=test-user \
-e DOCKER_PDF_SERVER_PASSWORD=test-password \
-p 5000:5000 ghcr.io/ash0ne/docker-pdf-server:latest
sh smoke_test.sh