Skip to content

This repository contains Data build tools(DBT) data models and other artifacts

License

Notifications You must be signed in to change notification settings

bcgov/nr-dbt-project

Repository files navigation

nr-dbt-project

This repository contains Data build tools(DBT) data models and other artifacts

Use of GHCR

Container images are built automatically and pushed to the GHCR any time there is a push or PR to the main branch. Images are named according to the file path and tagged with the branch name. Use the image name in an Airflow DAG to create a job using the DBT container. See Airflow example here: dbt_example.py

Usage example:

docker pull ghcr.io/bcgov/nr-dbt-project-ods-dlh:main

Alternatively, there is this manual workflow:

docker build -t image-registry.apps.emerald.devops.gov.bc.ca/a1b9b0-dev/<image_name>:<tag> -f <Dockerfile_Name> .
docker push image-registry.apps.emerald.devops.gov.bc.ca/a1b9b0-dev/<image_name>:<tag>

Note: If you add a new Dockerfile, a new GitHub Actions workflow needs to be created to publish the container to the GHCR.

About

This repository contains Data build tools(DBT) data models and other artifacts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •