Skip to content

Update file doc/introducao.md #17

Update file doc/introducao.md

Update file doc/introducao.md #17

Workflow file for this run

name: Build
on:
push:
branches:
- 1.10
- 2.2
- 2.6
workflow_dispatch:
jobs:
push-image:
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Log in to the Container Registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
file: .docker/mkdocs/Dockerfile
target: prod
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: BUILD_COMMIT_SHA=${{ github.sha }}