rar-index-py/.gitea/workflows/docker-build.yml

27 lines
619 B
YAML
Raw Normal View History

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