Files
isotopetable/.gitea/workflows/container.yml
T
markusroandJunie f3b9fa133a
Build and Push Podman Container / build-and-push (push) Canceled after 0s
Add Gitea container workflow and modernize build process with uv
Co-authored-by: Junie <junie@jetbrains.com>
2026-08-14 20:40:19 +02:00

24 lines
609 B
YAML

name: Build and Push Podman Container
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to Gitea Container Registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | podman login gitea.pkm.physik.tu-darmstadt.de -u ${{ github.actor }} --password-stdin
- name: Build and push image
run: |
IMAGE_TAG=gitea.pkm.physik.tu-darmstadt.de/${{ github.repository }}:latest
podman build -t $IMAGE_TAG .
podman push $IMAGE_TAG