Add GitHub actions

Author: https://github.com/Sn0wfaller
This commit is contained in:
Sn0wfaller
2026-04-16 18:01:48 +03:00
committed by GitHub
parent 9453743964
commit d2c8595c52
+25
View File
@@ -0,0 +1,25 @@
name: Build and Push lunar-tear to Docker Hub
on:
push:
branches: [ "main" ]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: kretts/lunar-tear:latest