Files
toolchain/.gitea/workflows/builder.yaml
RemiZOffAlex c4ea5b9640
Some checks failed
Build toolchain image / Builder (push) Failing after 22m38s
Update
2024-08-23 08:19:23 +03:00

28 lines
1.1 KiB
YAML

name: Build toolchain image
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Builder:
runs-on: fedora-40
secrets:
access-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
steps:
# - uses: actions/checkout@v4
- run: env
- run: cat $GITHUB_ENV
- run: pwd
- run: ls -la
# - run: dnf -y update
- run: dnf -y install dnf-plugins-core
- run: dnf -y group install standard core hardware-support development-libs development-tools
- run: dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
- run: dnf -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
# - run: dnf -y install git
- run: git config --global url."https://${ACTIONS_RUNTIME_TOKEN}:x-oauth-basic@codex.r10x.net/".insteadOf "${GITHUB_SERVER_URL}"
- run: git clone ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} ${PWD}
- run: pwd
- run: ls -la
- run: docker build --progress=plain --tag registry.r10x/toolchain .
- run: docker run --labels registry.r10x/toolchain buildbot