Skip to content

Conversation

@LinuxSuRen
Copy link

@LinuxSuRen LinuxSuRen commented Apr 17, 2025

Description

New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
For new tools, please provide total size and installation time.

ubuntu 20.04 and 22.04 contain oras as well

Related issue:

Check list

  • Related issue / work item is attached
  • Tests are written (if applicable)
  • Documentation is updated (if applicable)
  • Changes are tested and related VM images are successfully generated

@TegarXLu
Copy link

When will this work normally again?

@subir0071
Copy link
Contributor

Hello @LinuxSuRen - Thanks for raising this PR.
However, we have decided to keep oras out of Ubuntu-24.04` image as it was not much in use.
However, let's keep this PR open for few weeks to gauge the same.
Thanks.

@LinuxSuRen
Copy link
Author

hi @subir0071 thanks for your response. But do we have any data shows oras is not much in use?

@FeynmanZhou
Copy link

Hi @TegarXLu @subir0071, same question with @LinuxSuRen . Removing oras out of Ubuntu-24.04 image looks breaking to existing oras users. Could you please help clarify it? Do you have any usage data as justification?

@subir0071
Copy link
Contributor

Apart from our internal monitors, public forums like this are also very important to gauge the popularity and demand of tools and packages.
Unfortunately, we are still unable to include oras to the runner image, which we intend to keep slim.
Please include oras installation step into your workflow to continue using it.

Here is a sample workflow for the same. It takes around 1sec to get it installed which reduces the need to pre-package it in the image as the installation is almost effortless in terms of time and complexity -

name: Install ORAS on Ubuntu 24.04

on:
  push:
    branches: [main]
  pull_request:

jobs:
  install-oras:
    runs-on: ubuntu-24.04

    steps:
      - name: Checkout repository
        uses: actions/checkout@v3

      - name: Install ORAS CLI
        run: |
          ORAS_VERSION=$(curl -s https://api.github.com/repos/oras-project/oras/releases/latest | grep tag_name | cut -d '"' -f 4)
          curl -LO https://github.com/oras-project/oras/releases/download/${ORAS_VERSION}/oras_${ORAS_VERSION#v}_linux_amd64.tar.gz
          tar -xvf oras_${ORAS_VERSION#v}_linux_amd64.tar.gz oras
          sudo mv oras /usr/local/bin/oras
          oras version

      - name: Verify ORAS Installation
        run: oras version

@subir0071 subir0071 closed this May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants