init
Build and Publish Docker Image / build (push) Successful in 33s

This commit is contained in:
2026-07-28 02:09:46 -04:00
commit ca0074dcad
40 changed files with 5575 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Build and Publish Docker Image
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build Docker Image
run: |
docker build -t git.alexav.gg/${{ gitea.repository }}:latest .
docker build -t git.alexav.gg/${{ gitea.repository }}:${{ gitea.sha }} .
- name: Login to Gitea Registry
run: |
echo "${{ secrets.RUNNER_TOKEN }}" | docker login git.alexav.gg -u ${{ gitea.actor }} --password-stdin
- name: Push Docker Image
run: |
docker push git.alexav.gg/${{ gitea.repository }}:latest
docker push git.alexav.gg/${{ gitea.repository }}:${{ gitea.sha }}