skills / publish-packages

Use GitHub Actions to publish your project to a Docker image.
MIT License
162 stars 74 forks source link

Add an extra step to detail Docker environment clean up #48

Open mjbear opened 1 month ago

mjbear commented 1 month ago

Summary

Add steps to detail cleaning up the Docker environment (stop container, delete image).

These courses are great and offer a low barrier of entry for beginners. Since beginners can work through this course it is a good idea to also include how to stop the Docker container and also remove the image when we're done with it.

Changes

Closes: #47

Task list

mjbear commented 1 month ago

I performed testing via this temporary repo: https://github.com/mjbear/test_skills-publish-packages (Once this is evaluated and hopefully merged, I plan on deleting that "test" repo.) :grinning:

Is there an simple way to test the Actions workflow?

(As compared to creating a new branch new_main, merging my feature branch into that, renaming main to old_main, and then renaming new_main to main. And cloning the template repo to manually go through the workflow. And then setting the default repo to be main again. :sweat_smile: )

nguyenalex836 commented 1 month ago

@mjbear Thank you for submitting this PR! ✨

Would it make sense on the X-finish.md step to link to the MS Learn Introduction to Docker containers module?

I'll get this triaged for review, and the team can address this Q from your linked issue during their review 💛

mjbear commented 1 month ago

@mjbear Thank you for submitting this PR! ✨

Would it make sense on the X-finish.md step to link to the MS Learn Introduction to Docker containers module?

I'll get this triaged for review, and the team can address this Q from your linked issue during their review 💛

I've been full of PRs lately :rofl: ... yeah, there's a few others against this repo

mjbear commented 1 month ago

@nguyenalex836 If you and your team think the MS Learn article would be good to link to, I will add that modification to this PR and y'all can merge away.

Thank you! :green_heart: