Add build action
This commit is contained in:
@@ -3,9 +3,21 @@ run-name: Build xmlrpcserver image
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- uses: https://github.com/actions/checkout@v4
|
||||||
docker build . -t reg.ivazh.ru/xmlrpc
|
- name: Set up Docker Buildx
|
||||||
docker push reg.ivazh.ru/xmlrpc
|
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"
|
||||||
Reference in New Issue
Block a user