feat: add files
All checks were successful
build-image / brs-api (push) Successful in 28s

This commit is contained in:
2025-07-16 18:57:34 +02:00
parent 2ee765daa2
commit 994456863f
5 changed files with 153 additions and 16 deletions

View File

@ -0,0 +1,41 @@
name: build-image
on:
push
jobs:
brs-api:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
env:
DOCKER_ORG: bissendorf
RUNNER_TOOL_CACHE: /toolcache
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
registry: git.bissendorf.co
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Get Meta
id: meta
run: |
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
- name: Build and push
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}"
file: Dockerfile
push: true
tags: |
git.bissendorf.co/${{ env.DOCKER_ORG }}/louisa/louisas-website:${{ steps.meta.outputs.REPO_VERSION }}
git.bissendorf.co/${{ env.DOCKER_ORG }}/louisa/louisas-website:latest