Refactor CI scripts to remove sudo usage and streamline image deployment process

This commit is contained in:
2025-10-15 19:19:19 +02:00
parent d809e35234
commit 4ab87c78da
3 changed files with 6 additions and 7 deletions

View File

@@ -6,11 +6,10 @@ when:
steps:
- name: deploy
image: debian:trixie
image: quay.io/buildah/stable
privileged: true
commands:
- apt update
- apt install -y buildah podman sudo
- echo $DOCKER_PASSWORD | sudo podman login docker.io -u $DOCKER_USERNAME --password-stdin
- echo $DOCKER_PASSWORD | buildah login docker.io -u $DOCKER_USERNAME --password-stdin
- chmod +x ./push-image.sh
- ./push-image.sh
environment: