You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
computes the sha1 of ingredient files for the docker image
queries the container registry for an image tagged with that sha1
Exports both values
For split containers (eg: build vs test), then export the pair for each container.
The build-docker is run IFF a container is missing
New images are tagged according to the ingredient's SHA1
All downstream jobs read the output of the initial Docker job and may run a container at the job scope.
Footnotes:
is because we use 'branchname" or "latest" for main. This results in a race condition where:
Two consecutive jobs on a branch trigger. The second one changes the Dockerfile
The first one doesn't get through the pipeline fully before the second one rebuilds + reuploads the image
The remainder of job 1's pipeline now pick up the image not intended for that commit
build-docker-artifact tests for changes of certain files against main. Once a branch contains such a change, then all subsequent commits on that branch will flow down the path of 'generate a new docker image'
build-docker-artifact does the above test by using a gh api call
generate-docker-tag is invoked at the start of every job, so the job itself doesn't know the container to use until after it has begun executing steps
The text was updated successfully, but these errors were encountered:
Currently the docker image to use is:
gh api
calls, which are limitedProposed solution:
A new job that:
sha1
of ingredient files for the docker imageThe build-docker is run IFF a container is missing
All downstream jobs read the output of the initial Docker job and may run a container at the job scope.
Footnotes:
main
. Once a branch contains such a change, then all subsequent commits on that branch will flow down the path of 'generate a new docker image'gh api
callThe text was updated successfully, but these errors were encountered: