Files
louisas-website/.gitea/workflows/build.yaml
bdoerfchen 994456863f
All checks were successful
build-image / brs-api (push) Successful in 28s
feat: add files
2025-07-16 18:57:34 +02:00

41 lines
1.1 KiB
YAML

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