Use predefined env variable for GitLab Registry Login

This commit is contained in:
Justin Kromlinger 2024-06-06 11:20:38 +02:00
parent 98cd79111d
commit da1fed628b
No known key found for this signature in database
GPG Key ID: 69EF6D9E49A64EB8

View File

@ -135,7 +135,7 @@ image:build:secure:
- tags
before_script:
- pacman -Syu --noconfirm podman
- podman login -u "$GITLAB_PROJECT_USER" -p "$GITLAB_PROJECT_TOKEN" "$CI_REGISTRY"
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
- 'echo -e "default-docker:\n use-sigstore-attachments: true" > /etc/containers/registries.d/sigstore.yaml'
# Build and publish to the Arch Linux group namespaces: