Skip to content

Make "primary" container image ref visible to build steps (at least in publish stage) #63

Open
@joonas-fi

Description

@joonas-fi

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?

turbobob/cmd/bob/bobfile.go

Lines 167 to 170 in 37adcd0

type TagSpec struct {
Pattern string `json:"pattern"`
UseIf *Condition `json:"use_if"`
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions