mirror of
https://github.com/dathere/ckan_geoconnex_bulk_runner.git
synced 2026-07-05 15:12:20 +00:00
ci: set tag to namespace
This commit is contained in:
parent
eb714aae81
commit
4f4c576d97
2 changed files with 2 additions and 2 deletions
2
.github/workflows/container.yml
vendored
2
.github/workflows/container.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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?;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue