delete github workflows
Some checks failed
Build, Push and Redeploy Docker Image / build-and-push (push) Has been cancelled

This commit is contained in:
2026-02-05 22:58:58 +07:00
parent 563d7d801e
commit 6b20fe52f6
12 changed files with 46 additions and 270 deletions

View File

@@ -0,0 +1,46 @@
name: Build, Push and Redeploy Docker Image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
env:
REGISTRY_HOST: git.byte-mate.ru
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU (for multi-arch, optional)
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry
run: |
echo "${{ secrets.GIT_PASSWORD }}" | docker login "${{ env.REGISTRY_HOST }}" -u "${{ github.actor }}" --password-stdin
- name: Get short SHA
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> "$GITHUB_ENV"
- name: Build and push
run: |
docker buildx build \
--no-cache \
--push \
--platform linux/amd64 \
--tag ${{ env.REGISTRY_HOST }}/drholy/n8n-ffmpeg-proxy:${{ env.sha_short }} \
--tag ${{ env.REGISTRY_HOST }}/drholy/n8n-ffmpeg-proxy:latest \
--push \
.
# - name: Redeploy stack in Portainer
# run: |
# curl -X POST "${{ secrets.PORTAINER_WEBHOOK_URL }}"

14
.github/FUNDING.yml vendored
View File

@@ -1,14 +0,0 @@
# These are supported funding model platforms
github: [valiantlynx]
patreon: valiantlynx
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

View File

@@ -1,38 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

View File

@@ -1,10 +0,0 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''
---

View File

@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -1,29 +0,0 @@
# `dependabot.yml` file with updates
# disabled for Docker and limited for npm
version: 2
updates:
# Configuration for Dockerfile
- package-ecosystem: 'docker'
directory: '/'
schedule:
interval: 'weekly'
# Disable all pull requests for Docker dependencies
# open-pull-requests-limit: 0
# Configuration for npm
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
ignore:
# Ignore updates to packages that start with 'aws'
# Wildcards match zero or more arbitrary characters
- dependency-name: 'aws*'
# Ignore some updates to the 'express' package
- dependency-name: 'express'
# Ignore only new versions for 4.x and 5.x
versions: ['4.x', '5.x']
# For all packages, ignore all patch updates
- dependency-name: '*'
update-types: ['version-update:semver-patch']

View File

@@ -1,29 +0,0 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
name: Build and deploy container app to Azure Web App - ollama-docker
on:
workflow_dispatch:
workflow_run:
workflows: ["ollama-docker"] # This triggers the deployment after ollama-docker workflow completes
types:
- completed
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: 'production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
steps:
- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
with:
app-name: 'ollama-docker'
slot-name: 'production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_08E3A555EDB44342ACE847844A9FBCBF }}
images: 'index.docker.io/${{ secrets.AZUREAPPSERVICE_CONTAINERUSERNAME_4216062F7E1E4503954D1228672732B6 }}/ollama-docker:commit-${{ github.sha }}'

View File

@@ -1,95 +0,0 @@
name: ollama-docker
run-name: ${{ github.actor }} is building ollama-docker 🚀
on:
push:
branches:
- 'main'
paths:
- '**'
pull_request:
branches:
- 'main'
paths:
- '**'
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
workflow_call: # Added to allow this workflow to be called by other workflows
jobs:
build-and-push-images:
name: Build ollama-docker
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Login to GitHub Container registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
env:
GITHUB_USER: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
registry: ghcr.io
username: $GITHUB_USER
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v3
with:
images: |
${{ secrets.DOCKER_HUB_USERNAME }}/ollama-docker
ghcr.io/${{ secrets.DOCKER_HUB_USERNAME }}/ollama-docker
flavor: |
latest=false
tags: |
type=sha,prefix=commit-,format=long
type=raw,value=latest
- name: Build and tag Docker image and push to Docker Hub
uses: docker/build-push-action@v2
id: docker_build
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
builder: ${{ steps.buildx.outputs.name }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
context: .
file: ./Dockerfile
- name: Show image digest
run: |
echo ${{ steps.docker_build.outputs.digest }}

View File

@@ -1 +0,0 @@
[{"Group":"This is a sample~","Time":"","FileAndPath":[{"Tag":"Welcome use bookmark","Path":"","Start":"0.0","End":"0.0","Time":""}]}]

View File

@@ -1 +0,0 @@
0

View File

@@ -1,28 +0,0 @@
{
"recommendations": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.autopep8",
"ms-python.debugpy",
"ms-python.isort",
"donjayamanne.python-environment-manager",
"donjayamanne.python-extension-pack",
"etmoffat.pip-packages",
"aaron-bond.better-comments",
"formulahendry.auto-rename-tag",
"formulahendry.code-runner",
"github.copilot",
"github.vscode-pull-request-github",
"ms-azuretools.vscode-docker",
"ms-vscode-remote.remote-containers",
"ms-vscode-remote.remote-ssh",
"ms-vscode-remote.vscode-remote-extensionpack",
"ms-toolsai.jupyter",
"ritwickdey.liveserver",
"visualstudioexptteam.vscodeintellicode",
"vscode-icons-team.vscode-icons",
"esbenp.prettier-vscode"
]
}

View File

@@ -1,5 +0,0 @@
{
"python.languageServer": "Pylance",
"python.analysis.extraPaths": ["../"],
"python.formatting.provider": "prettier",
}