chore: extracting container registry data into CI/CD vars

This commit is contained in:
Radostin Emanuilov 2024-09-03 21:06:50 +01:00
parent e999475846
commit f74b5c7912
No known key found for this signature in database

View File

@ -6,8 +6,8 @@ env:
BASE_DISK_FILEPATH: "${{ env.VM_DISK_OUTPUT_DIR }}/${{ env.VM_DISK_FILE_TO_DOWNLOAD }}"
OUTPUT_FILE_PATH: "${{ env.VM_DISK_OUTPUT_DIR }}/${{ env.VM_DISK_FILE_TO_DOWNLOAD }}-${{ env.CI_COMMIT_SHA }}"
ROCKY_VERSION: "9.4"
CONTAINER_REGISTRY_DOMAIN: docker.io
CONTAINER_REGISTRY_ORG: monolithify
CONTAINER_REGISTRY_DOMAIN: "${{ vars.CONTAINER_REGISTRY_DOMAIN }}"
CONTAINER_REGISTRY_ORG: "${{ vars.CONTAINER_REGISTRY_ORG }}"
CONTAINER_REGISTRY_WITH_ORG: ${{ env.CONTAINER_REGISTRY_DOMAIN }}/${{ env.CONTAINER_REGISTRY_ORG}}
CONTAINER_REGISTRY_RW_USER: ${{ vars.CONTAINER_REGISTRY_RW_USER }}
CONTAINER_REGISTRY_RW_PASS: ${{ secrets.CONTAINER_REGISTRY_RW_PASS }}
@ -15,8 +15,8 @@ env:
BUILDER_PRIVATE_KEY: ${{ secrets.BUILDER_PRIVATE_KEY }}
BUILDER_PUBLIC_KEY: ${{ secrets.BUILDER_PUBLIC_KEY }}
BUILDER_CONTAINER_NAME: bootc-builder
OUTPUT_BOOTC_IMAGE_NAME: "rocky9-bootc:${{ env.CI_COMMIT_SHA }}"
OUTPUT_BOOTC_IMAGE_NAME_LATEST: "rocky9-bootc:latest"
OUTPUT_BOOTC_IMAGE_NAME: "${{ vars.OUTPUT_BOOTC_IMAGE_NAME }}:${{ env.CI_COMMIT_SHA }}"
OUTPUT_BOOTC_IMAGE_NAME_LATEST: "${{ vars.OUTPUT_BOOTC_IMAGE_NAME }}:latest"
name: build and push bootc image
on: