Files
Bonsai-webapp/.gitea/workflows/release.yml
T
2026-05-23 23:19:08 +02:00

28 lines
792 B
YAML

name: Release
on:
release:
types: [published]
jobs:
docker:
name: Build & push Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Login to Gitea container registry
uses: https://github.com/docker/login-action@v3
with:
registry: git.goutailler-olivier.com
username: ${{ gitea.actor }}
password: ${{ secrets.RELEASE_TOKEN }}
- name: Build and push
uses: https://github.com/docker/build-push-action@v6
with:
context: .
push: true
tags: |
git.goutailler-olivier.com/${{ gitea.repository }}:${{ gitea.ref_name }}
git.goutailler-olivier.com/${{ gitea.repository }}:latest