mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2025-08-05 21:57:13 +02:00
Use predefined env variable for GitLab Registry Login
This commit is contained in:
parent
98cd79111d
commit
da1fed628b
@ -135,7 +135,7 @@ image:build:secure:
|
|||||||
- tags
|
- tags
|
||||||
before_script:
|
before_script:
|
||||||
- pacman -Syu --noconfirm podman
|
- 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'
|
- 'echo -e "default-docker:\n use-sigstore-attachments: true" > /etc/containers/registries.d/sigstore.yaml'
|
||||||
|
|
||||||
# Build and publish to the Arch Linux group namespaces:
|
# Build and publish to the Arch Linux group namespaces:
|
||||||
|
Loading…
Reference in New Issue
Block a user