First try with CI
Some checks failed
Build and push docker image / publish (push) Has been cancelled

This commit is contained in:
2025-08-15 10:33:11 +02:00
parent 5143a22561
commit ffb194bb0e

View File

@@ -0,0 +1,25 @@
name: Build and push docker image
run-name: ${{ gitea.actor }} is building and pushing the docker image 🚀
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
needs: build
if: gitea.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
config-inline: |
[registry.brunner.ninja]
http = true
insecure = false
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: "registry.brunner.ninja/feedc0de/less_shitty_proxyjs:${{gitea.sha}},registry.brunner.ninja/feedc0de/less_shitty_proxyjs:latest"