mirror of
https://codeberg.org/hyperreal/vauxite-build
synced 2024-11-01 16:53:12 +01:00
Fix PODMAN_IMAGE_NAME to use RELVER
This commit is contained in:
parent
8072c0eaa7
commit
9da05532cc
@ -35,15 +35,11 @@ nonfree-build-job:
|
||||
tags:
|
||||
- podman-in-podman
|
||||
variables:
|
||||
PODMAN_IMAGE_NAME: "${CI_REGISTRY_IMAGE}/vauxite-nonfree:${CI_COMMIT_REF_SLUG}"
|
||||
RELVER: "39"
|
||||
PODMAN_IMAGE_NAME: "${CI_REGISTRY_IMAGE}/vauxite-nonfree:${RELVER}"
|
||||
before_script:
|
||||
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||
script:
|
||||
- cd oci/nonfree
|
||||
- podman build -t "$PODMAN_IMAGE_NAME" .
|
||||
- podman push "$PODMAN_IMAGE_NAME"
|
||||
- |
|
||||
if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
|
||||
podman tag "$PODMAN_IMAGE_NAME" "$CI_REGISTRY_IMAGE:latest"
|
||||
podman push "$CI_REGISTRY_IMAGE:latest"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user