diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 5319ac9..44a235c 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -15,10 +15,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install Docker CLI + - name: Install tooling run: | - apt-get update - apt-get install -y docker.io git python3 + set -euo pipefail + if command -v apt-get >/dev/null 2>&1; then + apt-get update + apt-get install -y docker.io git python3 + elif command -v apk >/dev/null 2>&1; then + apk add --no-cache git python3 py3-pip + fi - name: Log in to registry run: | @@ -35,6 +40,16 @@ jobs: needs: build runs-on: ubuntu-latest steps: + - name: Install tooling + run: | + set -euo pipefail + if command -v apt-get >/dev/null 2>&1; then + apt-get update + apt-get install -y git python3 + elif command -v apk >/dev/null 2>&1; then + apk add --no-cache git python3 py3-pip + fi + - name: Update GitOps frontend release env: GITOPS_USERNAME: ${{ secrets.GITOPS_GITHUB_USERNAME || 'Traceworks2023' }}