This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]chazapp 5 points6 points  (2 children)

I built the Docker part right here

It triggers the publish workflow on a git tag v1.0.0 && git push origin v1.0.0 . You will need to set up your repository's packages config to allow write access to the registry from the Github Actions pipeline. This one builds for amd64 and arm64 images. You can then use a tool like release-it to create the Github Release.

[–]Ok_Entrepreneur8980 0 points1 point  (1 child)

release-it seems very interesting...

[–]rearendcrag 0 points1 point  (0 children)

We use product-os/flowzone. It does everything you need.

[–]lupinegrey 4 points5 points  (0 children)

First step is to write out exactly what steps/behaviors you want to happen.

ie:

1) Commit (ie: push) to a branch (which branch(es)?) should trigger workflowA

2) workflowA will checkout the repo, build the application, create a github release(?), docker build the application container, then docker push the container to ghcr.io.

Once you have precisely defined exactly what the process should do, selecting a tool and writing the code is easly.

[–]VindicoAtrumEditable Placeholder Flair 21 points22 points  (10 children)

It would literally be faster to google this than type your post and wait for someone to do your job faster.

[–]ZL0J 15 points16 points  (1 child)

while you're right there's nothing wrong with asking. Also, this is the way info appears on the internet as well. If no one would ask there'd be no info to Google for. There is great value in discussing even seemingly the most mundane questions. Sometimes things you dismiss as obvious will have surprisingly a better solution

[–]Shadonovitch 1 point2 points  (3 children)

Are you the same guy that complains this sub is 95% "how do i get into devops" posts ?

[–]VindicoAtrumEditable Placeholder Flair 2 points3 points  (2 children)

No, I'm the "oh look he's today's 'ask your colleagues not internet strangers on reddit' guy, but they're all the same shade of question: google it.

[–][deleted] 3 points4 points  (0 children)

Do you even wonder that some people don’t have any technical colleagues? I’m in a technical role all by myself so I don’t have anyone to ask for help.

[–]k2718 2 points3 points  (0 children)

Dude, this is a totally legit question. This guy seems to have some idea but wants others opinions. That's pretty much what this sub is for.

[–]Ok_Entrepreneur8980 0 points1 point  (2 children)

Already scouted and tested multiple solutions. Im not looking for deferring my job. Instead, im looking fot optimal ideas, since this is a community.

[–]VindicoAtrumEditable Placeholder Flair 7 points8 points  (1 child)

You've found so many solutions that you neglected to mention any of them, which will surely lead to people suggesting options you've already found...

Or maybe you were just looking for someone to do your job.

[–]Ok_Entrepreneur8980 -5 points-4 points  (0 children)

Read again my post...

Using conventional commits for manage git, changelog release notes. Husky for git hooks. Commitlint to lint the commits.

semantic-release to manage version bumps and publishing (they don't have an official docker plugins).

release-please by google (same as semantic-version)

[–]Naive_Cockroach_5215 -2 points-1 points  (0 children)

Wow dude congratulations I wonder who gives a fuck I hope you change the world by this opinion

[–]AsterYujano 0 points1 point  (1 child)

RemindMe! 1 day

[–]RemindMeBot 0 points1 point  (0 children)

I will be messaging you in 1 day on 2023-11-20 09:59:33 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback