summaryrefslogtreecommitdiff
path: root/.gitea/workflows/release.yml
blob: 99cc8a86f1e6715a1717a8a3912c6388dd407e60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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