5 Commits

Author SHA1 Message Date
Mohammed Naser
bdae8c9433 Add other nodes to buildx builder
If you need to run native arm64 builds, you can take advantage
of this change which will rely on the remote builders in order
to build things natively giving a significant speed up in
container build time.

Change-Id: I962bb2357a2c458d5e72b334b4fe36b55b034864
2024-09-30 18:58:21 -04:00
Clark Boylan
5994ce4049 Gracefully handle use of intermediate registry in container upload role
For symmetry and ease of transition between the docker specific
jobs/roles and generic container jobs/roles it is advantageous to have
the container upload role skip pushing artifacts to the final registry
location if we are relying on the intermediate registry instead.

Update the container upload role to skip pushing to the actual registry
if the promote var is set to intermediate registry. This allows us to
avoid reshuffling all of our jobs as we migrate between the two
implementations.

Change-Id: I3cae9e03517cb0a5ce8e9369bf43fd052cac97ff
2023-05-09 16:18:42 -07:00
James E. Blair
a3a38ee2a2 Handle credential repository not being defined in container roles
This attribute is optional.

Change-Id: I0875b25d07f5fde0f6c3a3b62c0dac93770ffc49
2023-03-23 15:33:36 -07:00
James E. Blair
8d5c65153f Add container repository cred permission checks
The docker roles perform permission checks to verify that the
owner of the credential is okay with a job uploading to a given
repo.  The container roles document that they perform the same
check, but that wasn't implemented.  This change implements it.

Change-Id: I1fa7ad985664688de76f0fcc280fbfea4f02fb7c
2023-03-21 10:18:37 -07:00
Paul Belanger
777230be59 Create upload-container-image role
This new role will be used to replace our upload-docker-image role in
the future.

Change-Id: I0e2b0cca6575255520aa6d4d48a12128ab5f46cc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2020-11-13 15:04:27 -05:00