ci: set tag to namespace

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

View file

@ -25,7 +25,7 @@ jobs:
with: with:
file: ./bulk_loader/Dockerfile file: ./bulk_loader/Dockerfile
push: true push: true
tags: ghcr.io/dathere/ckan_geoconnex_bulk_runner:latest tags: ghcr.io/dathere/ckan_geoconnex_bulk_runner:${{ matrix.namespace }}
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

View file

@ -6,7 +6,7 @@ async fn main() -> Result<()> {
let namespace = std::env!("NAMESPACE"); let namespace = std::env!("NAMESPACE");
// Get latest release data which is organized as a single JSONL file // Get latest release data which is organized as a single JSONL file
// at https://github.com/dathere/ckan_geoconnex_bulk_runner/releases/latest // at https://github.com/dathere/ckan_geoconnex_bulk_runner/releases/latest
let body = reqwest::get(format!("https://github.com/dathere/ckan_geoconnex_bulk_runner/releases/latest/download/ckan-geoconnex-web-resources-{namespace}.jsonl")) let body = reqwest::get(format!("https://github.com/dathere/ckan_geoconnex_bulk_runner/releases/latest/download/{namespace}.jsonl"))
.await? .await?
.text() .text()
.await?; .await?;