Refactor CI scripts to remove sudo usage and streamline image deployment process
This commit is contained in:
1 parent
d809e35234
commit
4ab87c78da
3 files changed
+6
-7
No files matched your search
+3
-4
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user