Skip to content

Commit

Permalink
Fixes #38236 - copy /run/containers/0/auth.json only if it exists
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
  • Loading branch information
pmoravec committed Feb 24, 2025
1 parent bbbf9e0 commit b454260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/foreman/job_templates/flatpak_login_action.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ template_inputs:
%>

sudo podman login <%= server_url %> --username <%= username %> --password <%= password %>
sudo cp /run/containers/0/auth.json /etc/flatpak/oci-auth.json
sudo cp --update /run/containers/0/auth.json /etc/flatpak/oci-auth.json

0 comments on commit b454260

Please sign in to comment.