This commit is contained in:
artem 2025-04-21 21:01:07 +03:00
parent 1a748bcc62
commit b8dc67edf7
1 changed files with 24 additions and 0 deletions

24
.gitea/workflows/ai.yaml Normal file
View File

@ -0,0 +1,24 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on: [push]
jobs:
build_and_push:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v2 # Required to mount the Github Workspace to a volume
- name: Login to Docker Hub
uses: https://github.com/docker/login-action@v3
with:
registry: gitea.webart-tech.ru
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: https://github.com/docker/build-push-action@v5
with:
context: .
push: true
tags: https://gitea.webart-tech.ru/webart/beerds:${{ gitea.sha }}