Skip to content

Commit

Permalink
Merge pull request #236 from simondeziel/ed25519-host-key
Browse files Browse the repository at this point in the history
github: force ed25519 host key algo in image-upload
  • Loading branch information
tomponline authored Jul 11, 2024
2 parents e090c73 + 6a6ee7a commit e815869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/image-upload/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:
# First upload contents to the temporary dir and once fully uploaded
# move the directory to the final destination to avoid potential race
# where simplestream-maintainer includes partially uploaded images.
sftp -P ${SSH_PORT} -b - "${SSH_USER}@${SSH_HOST}" <<EOF
sftp -oHostKeyAlgorithms=ssh-ed25519 -P ${SSH_PORT} -b - "${SSH_USER}@${SSH_HOST}" <<EOF
put -R ${SRC_DIR}-upload/*
rename "${IMG_DIR}/.${VERSION}" "${IMG_DIR}/${VERSION}"
bye
Expand Down

0 comments on commit e815869

Please sign in to comment.