Move assets image to quay.io

We are moving our images to quay.io. The assets image is used by other
image builds so we want to treat this like a base image and update it
early in the process. This will reduce overall churn in the process.

Change-Id: Id9630243f60b280647c493abaccf0ece3d56d40c
This commit is contained in:
Clark Boylan 2023-05-05 11:32:29 -07:00
parent b3a861c0e0
commit 7f88fc7d4a
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,5 @@
# Fri May 5 18:32:00 UTC 2023 - trigger rebuild
FROM scratch
COPY donors /donors/
COPY favicon.ico /

View File

@ -3,11 +3,16 @@
name: system-config-build-image-assets
provides: assets-container-image
description: Build Opendev assets bundle
parent: system-config-build-image
parent: system-config-build-container-image
vars: &assets_vars
docker_images:
promote_container_image_job: system-config-upload-image-assets
container_images:
- context: assets
repository: opendevorg/assets
registry: quay.io
repository: quay.io/opendevorg/assets
namespace: opendevorg
repo_shortname: assets
repo_description: Container image containing web assets for multiple sites.
files: &assets_files
- assets/
@ -15,13 +20,13 @@
name: system-config-upload-image-assets
description: Build and upload assets bundle
provides: assets-container-image
parent: system-config-upload-image
parent: system-config-upload-container-image
vars: *assets_vars
files: *assets_files
- job:
name: system-config-promote-image-assets
description: Promote a previously published assets bundle image to latest.
parent: system-config-promote-image
parent: system-config-promote-container-image
vars: *assets_vars
files: *assets_files