Skip to content
This repository was archived by the owner on Jul 15, 2026. It is now read-only.

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages