From d2c8595c52b7e5acbe408a67c3a0523eaa4275ae Mon Sep 17 00:00:00 2001 From: Sn0wfaller <40021928+Sn0wfaller@users.noreply.github.com> Date: Thu, 16 Apr 2026 18:01:48 +0300 Subject: [PATCH] Add GitHub actions Author: https://github.com/Sn0wfaller --- .github/workflows/docker-image.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..46a2266 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -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