Matheus Sampaio Queiroga 0c1e802f6a
All checks were successful
Docker build / Build docker (push) Successful in 1h0m58s
drop sqlite
Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
2025-01-06 15:04:54 -03:00

37 lines
947 B
YAML

name: Docker build
on:
push:
workflow_dispatch:
schedule:
- cron: 0 0/6 * * *
jobs:
build:
runs-on: ubuntu-latest
name: Build docker
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: sirherobrine23.com.br
password: ${{ secrets.DOCKER_TOKEN }}
username: sirherobrine23
- name: Setup qemu
uses: docker/setup-qemu-action@v3
- name: Setup buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/arm64,linux/amd64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6
cache-from: sirherobrine23.com.br/gitea/gitea:latest
tags: sirherobrine23.com.br/gitea/gitea:latest