Fix image workflow: fetch extra repos from main, not primary SHA
This commit is contained in:
parent
817bdde604
commit
d8246577db
1 changed files with 2 additions and 1 deletions
|
|
@ -41,7 +41,8 @@ jobs:
|
||||||
for spec in ${EXTRA_REPOS}; do
|
for spec in ${EXTRA_REPOS}; do
|
||||||
repo="${spec%@*}"
|
repo="${spec%@*}"
|
||||||
ctx="${spec#*@}"
|
ctx="${spec#*@}"
|
||||||
extra_ref="${REF}"
|
# Extra repos track their own main branch; primary SHA is not valid there.
|
||||||
|
extra_ref="main"
|
||||||
wget -qO "/tmp/${ctx}.tar.gz" \
|
wget -qO "/tmp/${ctx}.tar.gz" \
|
||||||
"https://forgejo.coulomb.social/${repo}/archive/${extra_ref}.tar.gz"
|
"https://forgejo.coulomb.social/${repo}/archive/${extra_ref}.tar.gz"
|
||||||
mkdir -p "/tmp/ctx-${ctx}"
|
mkdir -p "/tmp/ctx-${ctx}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue