move secrets to env variables add palworld commands
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 37s

This commit is contained in:
Garret Patti
2026-07-10 19:26:26 -04:00
parent 102fb59d84
commit 048005f0a8
11 changed files with 401 additions and 7 deletions

View File

@@ -0,0 +1,27 @@
name: Build and Publish Docker Image
on:
push:
branches: [main]
env:
REGISTRY: git.gpatti.com
IMAGE: git.gpatti.com/gpatti/tentaclebot
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to Gitea Container Registry
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.gpatti.com -u gpatti --password-stdin
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
${{ env.IMAGE }}:latest
${{ env.IMAGE }}:${{ github.sha }}