Some checks are pending
Build and Publish Docker Image / build (push) Waiting to run
22 lines
430 B
YAML
22 lines
430 B
YAML
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
|