From d9baef8d3c315ca07329e5d26559fe9a99fcfb67 Mon Sep 17 00:00:00 2001 From: Lucid Kobold Date: Wed, 3 Sep 2025 14:08:24 -0400 Subject: [PATCH] Update env variables --- .github/workflows/main.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9f5e515..132958b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,24 +7,32 @@ on: branches: [main] env: - REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} + REGISTRY: gitea.lucids-cove.duckdns.org + OWNER: lcm + IMAGE_NAME: no-twitter-bot jobs: build-and-push-docker-image: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: node-version: [20.x] steps: - uses: actions/checkout@v4 + - name: "Base requirements" + run: | + # packages + apk update && apk add --no-cache git docker docker-compose nodejs gpg openssh npm ansible + # ansible collections + ansible-galaxy collection install community.general --force + ansible-galaxy collection install ansible.posix --force - name: Enable Corepack run: corepack enable - name: Log into registry ${{ env.REGISTRY }} uses: docker/login-action@v2 with: registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} + username: ${{ env.OWNER }} password: ${{ secrets.GITHUB_TOKEN }} - name: Setup Docker buildx uses: docker/setup-buildx-action@v2