dawidd6 / action-debian-package

:gear: A GitHub Action for building Debian packages
MIT License
24 stars 8 forks source link

Adding installation of skopeo #77

Closed waja closed 8 months ago

waja commented 8 months ago

Since other platforms, beside Github Actions, can use Actions (see https://forgejo.org/docs/v1.21/user/actions/), it is not save to assume skopeo is installed by default.

waja commented 8 months ago

Would be nice to check in advance if skopeo is already installed. I just have no clue how to do that with JS. :)

dawidd6 commented 8 months ago

Thanks!

waja commented 8 months ago

Many thanks for help making this happen. Will try this with forgejo actions immediately. :)

waja commented 8 months ago

Okay ... the issue with skopeo seems to be fixed, but the Pipelines still failing with:

::group::Install build dependencies
[command]/usr/bin/docker exec dropbear bash -c apt-get build-dep -yq -t 'bullseye-backports' '/workspace/waja/action-debian-package/dropbear' || apt-get build-dep -yq '/workspace/waja/action-debian-package/dropbear'
E: Unsupported file /workspace/waja/action-debian-package/dropbear given on commandline
E: Must specify at least one package to check builddeps for
E: Unsupported file /workspace/waja/action-debian-package/dropbear given on commandline
E: Must specify at least one package to check builddeps for
::error::The process '/usr/bin/docker' failed with exit code 100

You can have a look into it at https://git.uncompleted.org/waja/action-debian-package/actions/runs/4#jobstep-4-4404. I haven't found the issue behind this, cause /workspace/waja/action-debian-package/dropbear exists and has the dropbear files into it.