This repository has been archived on 2024-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ccchh-pretix/.forgejo/workflows/image.yaml

26 lines
744 B
YAML
Raw Permalink Normal View History

2024-07-30 09:34:56 +02:00
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
2024-07-30 09:40:12 +02:00
- uses: actions/checkout@v4
- uses: docker/metadata-action@v5
2024-07-30 09:34:56 +02:00
id: metadata
with:
2024-07-30 09:40:12 +02:00
images: git.hamburg.ccc.de/${{ github.repository }}/pretix
- uses: docker/login-action@v3
2024-07-30 09:34:56 +02:00
with:
registry: git.hamburg.ccc.de
username: ${{ github.actor }}
2024-07-30 09:52:28 +02:00
password: ${{ secrets.REPO_TOKEN }}
2024-07-30 09:34:56 +02:00
- uses: https://github.com/int128/kaniko-action@v1
with:
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache: true
cache-repository: git.hamburg.ccc.de/${{ github.repository }}/cache