going back to github

This commit is contained in:
localhost 2025-08-01 21:01:51 +03:00
parent 91ec61ba3d
commit 4d1b191e0a
2 changed files with 29 additions and 0 deletions

BIN
.DS_Store vendored

Binary file not shown.

29
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: ci
on:
- push
jobs:
docker:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/${{ github.repository }}:latest