Add build action
Some checks failed
Build xmlrpcserver image / Build (push) Failing after 19s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s

This commit is contained in:
Ivan Vazhenin
2024-02-25 16:13:26 +03:00
parent 3230931e4e
commit a742774ae1

View File

@@ -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"