Skip to content

Containerized pre-commit hooks#27

Open
Joonalai wants to merge 2 commits into
mainfrom
containerized-pre-commit-hooks
Open

Containerized pre-commit hooks#27
Joonalai wants to merge 2 commits into
mainfrom
containerized-pre-commit-hooks

Conversation

@Joonalai

@Joonalai Joonalai commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

This PR:

  • adds a containerfile for running qpdt with all the necessary binaries available
  • adds docker versions of pre-commit hooks

Checklist:

@Joonalai Joonalai changed the title Containerized pre commit hooks Containerized pre-commit hooks Mar 18, 2026
@Joonalai Joonalai self-assigned this Mar 18, 2026
@Joonalai Joonalai force-pushed the containerized-pre-commit-hooks branch from ad6c24c to 66cea12 Compare March 19, 2026 10:04
@Joonalai Joonalai force-pushed the containerized-pre-commit-hooks branch from 66cea12 to 078d148 Compare March 19, 2026 10:05
@Joonalai Joonalai requested a review from komima March 19, 2026 10:06
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image
uses: docker/build-push-action@v6

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Doesn't this do the same thing as above separate manual build?

context: .
file: ./Containerfile
push: true
tags: latest # TODO: use tag

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The tag here should be probably the full image image name spec incl. "tag" ie. the part after : in the name?

So ghcr.io/etc/something/here:vX.Y.Z for this build?

on:
push:
tags:
- v*

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do we have any non-v prefixed tags? Or if we do, maybe those should be built to tagged images as well?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants