What I’m working on #
I’ve missed a week to recover from what I think was one of the worst bouts with the flu in my lifetime. Phew, glad that’s over (almost - that darn post-nasal drip).
GitHub and its many edge cases #
Docker Actions #
Creating docker actions in javascript can work for many organizations, but for teams who perhaps come from different backgrounds/experiences and who want to avoid technical debt (using a language that people on the team don’t know so well), they might go the docker action route.
The setup for creating a python docker action is fairly straightforward:
You have your action.yml, main.py (and any other files/code needed for the action i.e requirements.txt etc.), and your Dockerfile.
Now when you’re in an enterprise environment, you may not like the fact that the Docker image registry defaults to public dockerhub.
|
|
The workaround?
|
|
Declare the job to run in a container and then call a shared script from another github repo to complete your work. It’s a bit messy, but it works!