Add action
All checks were successful
Build enserver image / Build (push) Successful in 31s

This commit is contained in:
Ivan Vazhenin
2024-02-25 16:59:07 +03:00
parent ed58bacd12
commit 10d271043e

View File

@@ -0,0 +1,23 @@
name: Build enserver image
run-name: Build enserver image
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- 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: "10.10.8.83:32000/enserver:latest"