dispatcher/.forgejo/workflows/build.yaml
cheetah 2326cc7552
All checks were successful
build / build (push) Successful in 1m51s
fix cicd
2025-04-05 04:54:39 +02:00

25 lines
No EOL
624 B
YAML

name: build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: git.cheetah.cat
username: ${{ github.actor }}
password: ${{ secrets.PAT_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: true
tags: git.cheetah.cat/smartpager/${{ github.event.repository.name }}:latest