Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build Forkgram for Linux by action #120

Open
denisgolius opened this issue Dec 29, 2023 · 3 comments
Open

Failed to build Forkgram for Linux by action #120

denisgolius opened this issue Dec 29, 2023 · 3 comments
Labels

Comments

@denisgolius
Copy link

Steps to reproduce

See your action https://github.com/forkgram/tdesktop/actions/runs/7314183980/job/19926555033

Run echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
  echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
  shell: scl enable gcc-toolset-12 -- bash --noprofile --norc -eo pipefail {0}
  env:
    UPLOAD_ARTIFACT: false
Unable to get file status /etc/scl/conf/gcc-toolset-12: No such file or directory
Error: Process completed with exit code 3.

Expected behaviour

Uploaded Telegram.tar.xz to https://github.com/forkgram/tdesktop/releases/tag/v4.13.1

Actual behaviour

Linux Desktop client don't present in the latest release

Operating system

linux

Version of Telegram Desktop

4.13.1

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

@denisgolius
Copy link
Author

Hey @23rd , could you take a look?

@23rd
Copy link
Collaborator

23rd commented Jan 3, 2024

A build process for the Release configuration takes more resources than Github CI can give, so no plans to fix it for now as long as it is a wasting of my time.

Pull requests are welcome.

@Generator
Copy link

Generator commented Mar 29, 2024

@23rd i tried to fix but don't have the secrets secrets.PACK_FILE (and others) to build it

try removing

          echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
          docker pull ghcr.io/$GITHUB_REPOSITORY/centos_env
          docker tag ghcr.io/$GITHUB_REPOSITORY/centos_env tdesktop:centos_env

Don't need to pull the image again if already using telegramdesktop/tdesktop/centos_env as container.

Github action is related to docker not available on container docker: command not found.

Otherwise install docker and login


      - name: Install docker.
        run: |
          yum install -y yum-utils
          yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
          yum install -y docker-ce docker-ce-cli containerd.io

      - name: Login to GitHub Container Registry.
        uses: docker/login-action@v3
        with:
          registry: ghcr.io
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}

      - name: First set up.
        run: |
          docker pull ghcr.io/$GITHUB_REPOSITORY/centos_env
          docker tag ghcr.io/$GITHUB_REPOSITORY/centos_env tdesktop:centos_env
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants