Files
Arrelin eed048922c
Some checks failed
Build / build (push) Failing after 30s
Update .gitea/workflows/build.yml
2026-03-18 09:51:47 +03:00

21 lines
1.5 KiB
YAML

name: Build
on:
push:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login 192.168.31.100:3847 -u ${{secrets.REGISTRY_USER }} --password-stdin
- name: Build and push
run: |
docker build -t 192.168.31.100:3847/arrelin/docker-exporter:latest .
docker push 192.168.31.100:3847/arrelin/docker-exporter:latest
- name: Logout
run: docker logout 192.168.31.100:3847