Skip to content

Various Changes: #55

Open
DanielHabenicht wants to merge 17 commits intoluke-browning:developfrom
DanielHabenicht:main
Open

Various Changes: #55
DanielHabenicht wants to merge 17 commits intoluke-browning:developfrom
DanielHabenicht:main

Conversation

@DanielHabenicht
Copy link

@DanielHabenicht DanielHabenicht commented Nov 29, 2023

This fixes or improves and implements various cases (sorry for filing only one PR), feel free to cherry pick or just copy what you need):

I can help however you like, just that I don't want to have too much time.
Currently I am still testing this on my homelab.

release:
types: [published]

env:
Copy link
Author

Choose a reason for hiding this comment

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

We can change this to environment variables defined in GitHub entirely? This way I can also publish images for my own use.

Copy link
Owner

Choose a reason for hiding this comment

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

I am all for this @DanielHabenicht. However, is there a way we can define multiple registries? I'd like to be able to publish this to ghcr.io as well as docker hub.

Copy link
Author

Choose a reason for hiding this comment

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

yeah, I think I can add a condition for the publish to docker so its only executed on this repository

@luke-browning luke-browning changed the base branch from main to develop January 16, 2024 20:30
ImageData imageData = ImageDataFactory.Create(uploadFilePath);
File.Delete(uploadFilePath);

string pdfFileName = name.Split(".").First() + ".pdf";
Copy link
Owner

Choose a reason for hiding this comment

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

I think this needs to handle filenames with multiple periods. Something like
name.Substring(0, name.LastIndexOf('.'))

"label": "Settings"
},
"reload":{
"label": "Reload Folder"
Copy link
Owner

Choose a reason for hiding this comment

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

In French:

"label": "Recharger le dossier"

In Spanish:

"label": "Recargar carpeta"


```yml
pdfedit:
image: ghcr.io/danielhabenicht/danielhabenicht/fork.pdf-web-edit:v0.9.2
Copy link
Owner

Choose a reason for hiding this comment

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

Any way we can read this from a variable?

Copy link
Author

Choose a reason for hiding this comment

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

I don't think so. But if you add something like mkdocs and host it as github page you could autogenerate it.

Copy link
Author

Choose a reason for hiding this comment

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

Or write a custom action that automatically commits after every release.

@luke-browning
Copy link
Owner

Hey @DanielHabenicht - really grateful for your work on this 👍. If you could just give me some feedback on my comments then I think I'm happy to get it merged.

Apologies for the delay, I did say it may take me a while 😆

@DanielHabenicht
Copy link
Author

Sorry, I am also quite busy. I will try to add the changes this week (and address the bug from #54)

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.

Archive Document on Merge Add refresh button

2 participants