Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora based Asciidoctor #605

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

buuhsmead
Copy link
Contributor

What is this PR About?

Describe the contents of the PR
Actually, a copy of ubi8-asciidoctor but now Fedora (fc) based.
This image is easier to maintain because version dependencies are handled by Fedora team

How do we test this?

Provide commands/steps to test this PR.
Create a pdf
And check this pdf with pdf generated by ubi8-asciidoctor
That worked out fine.
Newer versions can have another test cycle.

cc: @redhat-cop/day-in-the-life

runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Check and verify version.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, not making it easier for review.

./${{ env.context }}/Dockerfile
image: ${{ env.image_name }}
tags: "${{ steps.image_tags.outputs.IMAGE_TAGS }}"
- name: Push to Quay
Copy link
Contributor

@garethahealy garethahealy Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd add in the ghcr push as well, like:

allows forks to then test a built image without them needing access or setup of quay creds.

Update to latest asciidoctor

Update to latest asciidoctor

Update latest ubi8 and pandoc

Fedora based asciidoctor

Correcting for PR comments
@buuhsmead
Copy link
Contributor Author

Sorry, not making review easier.

id: image_tags
uses: redhat-cop/github-actions/get-image-version@master
with:
IMAGE_CONTEXT_DIR: ${{ env.CONTEXT_DIR }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

env CONTEXT_DIR should be context based on line 10

id: image_tags
uses: redhat-cop/github-actions/get-image-version@master
with:
IMAGE_CONTEXT_DIR: ${{ env.CONTEXT_DIR }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as other comment, wrong env name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants