ci: add build-args

This commit is contained in:
rzmk 2026-06-23 14:20:23 -04:00
parent 4f4c576d97
commit 1a82620420
2 changed files with 3 additions and 2 deletions

View file

@ -29,5 +29,5 @@ jobs:
cache-from: type=gha,scope=ckan_geoconnex_bulk_runner cache-from: type=gha,scope=ckan_geoconnex_bulk_runner
platforms: linux/amd64 platforms: linux/amd64
cache-to: type=gha,mode=max,scope=ckan_geoconnex_bulk_runner cache-to: type=gha,mode=max,scope=ckan_geoconnex_bulk_runner
env: build-args:
NAMESPACE: ${{ matrix.namespace }} - NAMESPACE=${{ matrix.namespace }}

View file

@ -2,6 +2,7 @@ FROM rust:1.96 AS builder
WORKDIR /app WORKDIR /app
RUN rustup set profile minimal RUN rustup set profile minimal
COPY . . COPY . .
ARG NAMESPACE
RUN cargo build -p bulk_loader --release RUN cargo build -p bulk_loader --release
FROM ubuntu:latest FROM ubuntu:latest