Skip to content

publicação do countainer #1

publicação do countainer

publicação do countainer #1

name: Docker Image CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build and Push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/joseabrantesjr/previsai:latest