Skip to content

polyseam/my-airflow-abc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


EZ AF Baking

for baking Airflow images with custom dependencies

Usage

Setup Repo

Click the Use this template button!

Set Requirements

  1. Pull down the repo
  2. Add your dependencies to requirements.txt

Push Code to GitHub

  1. git add .
  2. git commit -m "added dependencies"
  3. git push

Publish Image to the Container Registry

Automation will publish your image when you push a tag to the repo.

  1. run git tag v1.0.0 to designate an image version
  2. run git push --tags to publish that version
  3. the published images should be shown in the GitHub packages tab over there ↗️

using the image in Airflow Kubernetes (optional)

Now that you have an image in the GitHub Container Registry, you need to be able to consume it from Airflow.

In either case once you've applied the Secret you just need to tell Airflow to use it in your Helm Chart's values:

values:
  registry:
    secretName: airflow-image-pull-secret
  images:
    airflow:
      repository: 'ghcr.io/johnstonmatt/my-baked-image'
      tag: v1.0.0

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published