0
0
MyDarling/.gitea/workflows/release.yml
Serghei Cebotari 469197db32
Some checks failed
Release / release-image (push) Failing after 2m28s
Add release action
2024-01-29 16:32:46 +03:00

29 lines
674 B
YAML

name: Release
on:
push:
branches:
- "master"
workflow_dispatch:
jobs:
release-image:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Gitea Hub
uses: docker/login-action@v3
with:
registry: gitea.cebotari.ru
username: chebser
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build app
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: gitea.cebotari.ru/chebser/mydarlig-dotnet:latest