Files
less_shitty_proxyjs/.gitea/workflows/image.yaml
0xFEEDC0DE64 ffb194bb0e
Some checks failed
Build and push docker image / publish (push) Has been cancelled
First try with CI
2025-08-15 10:33:11 +02:00

26 lines
793 B
YAML

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"