mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-07 20:46:31 +00:00
40 lines
863 B
YAML
40 lines
863 B
YAML
name: Xpdf Docker image release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- docker/docker-bake-xpdf.hcl
|
|
- docker/Dockerfile.xpdf
|
|
|
|
jobs:
|
|
publish-xpdf-image:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
DOCKER_REPO_NAME: deepset/xpdf
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@v3
|
|
with:
|
|
username: ${{ secrets.DOCKER_HUB_USER }}
|
|
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
|
|
|
- name: Build and publish Xpdf image
|
|
uses: docker/bake-action@v4
|
|
with:
|
|
files: "docker-bake-xpdf.hcl"
|
|
workdir: docker
|
|
targets: xpdf
|
|
push: true
|