generated from coulomb/repo-seed
chore(CORE-WP-0007): retire inter-hub-haskell reference implementation
Rename awareness in README, disable push-triggered CI, and point registry paths at coulomb/inter-hub-haskell after Core Hub cutover.
This commit is contained in:
@@ -1,15 +1,6 @@
|
||||
name: Build and Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- ".custodian-brief.md"
|
||||
- ".sops.yaml"
|
||||
- "app.toml"
|
||||
- "deploy/railiance/**"
|
||||
- "docs/**"
|
||||
- "workplans/**"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -39,7 +30,7 @@ jobs:
|
||||
SHA=$(git rev-parse --short HEAD)
|
||||
TOKEN=$(
|
||||
curl -fsS \
|
||||
"https://gitea.coulomb.social/v2/token?service=container_registry&scope=repository:coulomb/inter-hub:push,pull" \
|
||||
"https://gitea.coulomb.social/v2/token?service=container_registry&scope=repository:coulomb/inter-hub-haskell:push,pull" \
|
||||
-u "tegwick:${REGISTRY_TOKEN}" \
|
||||
| awk -F'"' '/token/{print $4}'
|
||||
)
|
||||
@@ -50,13 +41,13 @@ jobs:
|
||||
skopeo copy --insecure-policy \
|
||||
--dest-registry-token "${TOKEN}" \
|
||||
docker-archive:result \
|
||||
"docker://gitea.coulomb.social/coulomb/inter-hub:${SHA}"
|
||||
"docker://gitea.coulomb.social/coulomb/inter-hub-haskell:${SHA}"
|
||||
# Also tag as latest
|
||||
skopeo copy --insecure-policy \
|
||||
--dest-registry-token "${TOKEN}" \
|
||||
docker-archive:result \
|
||||
"docker://gitea.coulomb.social/coulomb/inter-hub:latest"
|
||||
echo "Pushed inter-hub:${SHA} and inter-hub:latest"
|
||||
"docker://gitea.coulomb.social/coulomb/inter-hub-haskell:latest"
|
||||
echo "Pushed inter-hub-haskell:${SHA} and inter-hub-haskell:latest"
|
||||
|
||||
- name: Deploy to Railiance01
|
||||
shell: bash -l {0}
|
||||
|
||||
Reference in New Issue
Block a user