mirror of
https://codeberg.org/hyperreal/vauxite-build
synced 2024-11-01 08:43:13 +01:00
Try with sudo
This commit is contained in:
parent
6ec1fe9211
commit
a37b129e5a
@ -41,13 +41,13 @@ vauxite-nonfree-job:
|
||||
variables:
|
||||
PODMAN_IMAGE_NAME: "${CI_REGISTRY_IMAGE}-nonfree:${CI_COMMIT_REF_SLUG}"
|
||||
before_script:
|
||||
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||
- sudo 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"
|
||||
- sudo podman build -t "$PODMAN_IMAGE_NAME" .
|
||||
- sudo 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"
|
||||
sudo podman tag "$PODMAN_IMAGE_NAME" "$CI_REGISTRY_IMAGE:latest"
|
||||
sudo podman push "$CI_REGISTRY_IMAGE:latest"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user