Skip to content

patch(deps): update dependency asciidoctor-pdf to v2.3.19 #311

patch(deps): update dependency asciidoctor-pdf to v2.3.19

patch(deps): update dependency asciidoctor-pdf to v2.3.19 #311

Workflow file for this run

---
name: docker
"on":
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: 0 8 * * 1
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout source
id: source
uses: actions/checkout@v4
- name: Detect version
id: version
run: |
VER=$(sed -ne "s/^.*ASCIIDOCTOR_VERSION=\(.*\)/\1/p;" Dockerfile)
echo IMAGE_TAG=${VER} >> ${GITHUB_ENV}
echo "Building ${VER}"
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
images: |
${{ github.repository }}
ghcr.io/${{ github.repository }}
quay.io/${{ github.repository }}
flavor: |
latest=true
tags: |
type=raw,value=${{ env.IMAGE_TAG }}
type=schedule,pattern={{date 'YYYYMMDD'}}
type=ref,enable=true,event=branch
labels: |
org.opencontainers.image.vendor=Webhippie
maintainer=Thomas Boerger <[email protected]>
- name: Setup QEMU
id: qemu
uses: docker/setup-qemu-action@v3
- name: Setup Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Hub login
id: login1
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Quay login
id: login2
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Ghcr login
id: login3
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker build
id: docker
uses: docker/build-push-action@v6
with:
builder: ${{ steps.buildx.outputs.name }}
provenance: false
platforms: linux/amd64,linux/arm64,linux/arm/v6
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Hub readme
id: readme1
uses: actionhippie/pushrm@v1
if: github.event_name != 'pull_request'
with:
provider: dockerhub
target: ${{ github.repository }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
description: Docker image for asciidoctor
readme: README.md
- name: Quay readme
id: readme2
uses: actionhippie/pushrm@v1
if: github.event_name != 'pull_request'
with:
provider: quay
target: quay.io/${{ github.repository }}
apikey: ${{ secrets.QUAY_APIKEY }}
readme: README.md