29 lines
725 B
YAML
29 lines
725 B
YAML
---
|
|
name: Build Image for Deployment
|
|
on:
|
|
push:
|
|
tags:
|
|
- '**pvz**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container: ghcr.io/catthehacker/ubuntu:act-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Login to gitea container registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: git.wir-sind-auch-menschen.de
|
|
username: alice-bot
|
|
password: ${{ secrets.GT_TOKEN }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
push: true
|
|
tags: git.wir-sind-auch-menschen.de/paravielfalt/mastodon:${{ gitea.ref_name }}
|