diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..7099df7 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,36 @@ +name: Moogly build and push + +env: + REGISTRY: docker.io + IMAGE_NAME: ${{ secrets.DOCKER_USERNAME }}/moogly + +jobs: + build: + runs-on: ubuntu-latest + steps: + - + name: Checkout repository + uses: actions/checkout@v3 + - + name: Log in to Docker Hub + uses: docker/login-action@v2 + with: + registry: ${{ env.REGISTRY }} + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - id: string + uses: ASzc/change-string-case-action@v2 + with: + string: ${{ env.IMAGE_NAME }} + - + name: Generate random tag + id: random_tag + run: echo "tag=$(openssl rand -hex 6)" >> $GITHUB_ENV + - + name: Build and push + uses: docker/build-push-action@v3 + with: + context: . + platforms: linux/amd64 + push: true + tags: ${{ env.REGISTRY }}/${{ steps.string.outputs.lowercase }}:${{ env.tag }}, ${{ env.REGISTRY }}/${{ steps.string.outputs.lowercase }}:latest diff --git a/assets/moogly.png b/assets/moogly.png new file mode 100644 index 0000000..8073ec2 Binary files /dev/null and b/assets/moogly.png differ diff --git a/moogly.xml b/moogly.xml new file mode 100644 index 0000000..f6526fa --- /dev/null +++ b/moogly.xml @@ -0,0 +1,20 @@ + + + Moogly + melones/moogly:latest + https://github.com/senolem/moogly + nas + + bash + false + Moogly FC Bot + + + https://raw.githubusercontent.com/ich777/docker-templates/master/ich777/images/valheim.png + --restart=unless-stopped + + + 1735568335 + + /mnt/user/appdata/moogly + diff --git a/install.sh b/service/install.sh similarity index 100% rename from install.sh rename to service/install.sh diff --git a/moogly.service b/service/moogly.service similarity index 100% rename from moogly.service rename to service/moogly.service diff --git a/update.sh b/service/update.sh similarity index 100% rename from update.sh rename to service/update.sh