rar-index-py/.gitea/workflows/docker-build.yml
2023-10-20 00:56:47 +02:00

27 lines
619 B
YAML

name: Build and push Docker image
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.marcelsite.com
username: ${{ gitea.repository_owner }}
password: ${{ secrets.SECRET_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: marcel/rar-index-app:latest