diff --git a/.github/workflows/build_gb_base.yml b/.github/workflows/build_gb_base.yml index a353a7e..aa47c47 100644 --- a/.github/workflows/build_gb_base.yml +++ b/.github/workflows/build_gb_base.yml @@ -1,6 +1,9 @@ name: geoBoundaries Base Image Build run-name: gB Base Build -on: push +on: + push: + branches: ['main'] + paths: ['geoBoundaryBuilder/images/**'] jobs: build-and-push: runs-on: ubuntu-latest diff --git a/.github/workflows/build_workpool_operator.yml b/.github/workflows/build_workpool_operator.yml index 07beb2c..2f30edf 100644 --- a/.github/workflows/build_workpool_operator.yml +++ b/.github/workflows/build_workpool_operator.yml @@ -1,6 +1,9 @@ -name: geoBoundaries Base Image Build +name: geoBoundaries Workpool Operator Build run-name: gB k8s Workpool Operator -on: push +on: + push: + branches: ['main'] + paths: ['geoBoundaryBuilder/images/**'] jobs: build-and-push: runs-on: ubuntu-latest diff --git a/geoBoundaryBuilder/images/k8s_worker.Dockerfile b/geoBoundaryBuilder/images/k8s_worker.Dockerfile index 0a44944..4dc0c24 100644 --- a/geoBoundaryBuilder/images/k8s_worker.Dockerfile +++ b/geoBoundaryBuilder/images/k8s_worker.Dockerfile @@ -2,6 +2,7 @@ FROM prefecthq/prefect:3.1.6.dev6-python3.12-kubernetes RUN apt-get update && apt-get install -y --no-install-recommends \ + gnupg \ lsb-release && \ apt-get clean && rm -rf /var/lib/apt/lists/*