Adicionar .forgejo/workflows/build-image.yaml
Some checks are pending
Build and Publish Docker Image / build (push) Waiting to run

This commit is contained in:
LucasViniciusTI 2026-02-05 15:55:03 +00:00
parent e924b9c5fc
commit 082e0a5405

View file

@ -0,0 +1,22 @@
name: Build and Publish Docker Image
on:
push:
branches:
- main
jobs:
build:
# define um ambiente docker base
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: |
docker build -t monitor-relogio-ponto:latest .
- name: Save image as tar
run: |
docker save monitor-relogio-ponto:latest -o monitor-relogio-ponto.tar