Skip to content

add html2pdf and markdown2pdf #2

add html2pdf and markdown2pdf

add html2pdf and markdown2pdf #2

Workflow file for this run

name: Build and Push Docker Image
on:
push:
tags:
- '*.*.*'
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/web2pdf:latest
${{ secrets.DOCKERHUB_USERNAME }}/web2pdf:${{ github.ref_name }}