Update env variables
Some checks failed
CodeQL / Analyze (javascript) (pull_request) Has been cancelled
njsscan sarif / njsscan code scanning (pull_request) Has been cancelled

This commit is contained in:
2025-09-03 14:08:24 -04:00
parent b868131be7
commit d9baef8d3c

View File

@@ -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