diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 067ed75..8e5c5df 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,9 +3,21 @@ run-name: Build xmlrpcserver image on: [push] jobs: - Explore-Gitea-Actions: + Build: runs-on: ubuntu-22.04 steps: - - run: | - docker build . -t reg.ivazh.ru/xmlrpc - docker push reg.ivazh.ru/xmlrpc + - uses: https://github.com/actions/checkout@v4 + - name: Set up Docker Buildx + uses: https://github.com/docker/setup-buildx-action@v3 + with: + config-inline: | + [registry."10.10.8.83:32000"] + http = true + insecure = true + - name: Build and push Docker image + uses: https://github.com/docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile + push: true + tags: "reg.ivazh.ru/xmlrpc:latest" \ No newline at end of file