Problem
# it's not nice that we've to guess here *what the primary image ref will be*, but we've to do this
# until Turbo Bob makes "what will be the primary imageRef" visible to build steps.
# (see https://github.com/function61/turbobob/issues/63)
#
# => ghcr.io/joonas-fi/joonas.fi:sha-105ea4e
imageRef="${imageRefBase}:sha-${REV_ID:0:7}"
Source
Solution
TODO
Something like add primary bool to TagSpec struct?
|
type TagSpec struct { |
|
Pattern string `json:"pattern"` |
|
UseIf *Condition `json:"use_if"` |
|
} |