mastodon/.gitea/workflows/build.yml

30 lines
725 B
YAML
Raw Permalink Normal View History

2024-06-16 22:57:20 +02:00
---
2023-10-08 15:55:01 +02:00
name: Build Image for Deployment
on:
push:
tags:
2023-10-15 12:42:41 +02:00
- '**pvz**'
2023-10-08 15:55:01 +02:00
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/catthehacker/ubuntu:act-22.04
2023-10-08 15:55:01 +02:00
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
2023-10-08 15:55:01 +02:00
- name: Login to gitea container registry
uses: docker/login-action@v3
2023-10-08 15:55:01 +02:00
with:
2024-08-26 21:34:24 +02:00
registry: git.wir-sind-auch-menschen.de
2023-10-08 15:55:01 +02:00
username: alice-bot
password: ${{ secrets.GT_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
2023-10-08 15:55:01 +02:00
with:
context: .
2023-10-08 15:55:01 +02:00
push: true
2024-08-26 21:34:24 +02:00
tags: git.wir-sind-auch-menschen.de/paravielfalt/mastodon:${{ gitea.ref_name }}