feat: add latest tag

This commit is contained in:
Leon 2026-01-30 11:15:12 +01:00
parent 3fd185a3f1
commit 3ce5257402
2 changed files with 3 additions and 2 deletions

View File

@ -35,13 +35,15 @@ docker-build-push:
variables:
DOCKER_TLS_CERTDIR: "/certs"
IMAGE_TAG: "$CI_REGISTRY_IMAGE:${CI_COMMIT_SHORT_SHA}"
IMAGE_LATEST: "$CI_REGISTRY_IMAGE:latest"
before_script:
- echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
script:
- docker build -t "$IMAGE_TAG" .
- docker build -t "$IMAGE_TAG" -t "$IMAGE_LATEST" .
- docker push "$IMAGE_TAG"
- docker push "$IMAGE_LATEST"
rules:
- if: '$CI_COMMIT_BRANCH == "main"'

View File

@ -10,7 +10,6 @@ use Filament\Resources\RelationManagers\RelationManager;
use Filament\Schemas\Schema;
use Filament\Tables;
use Filament\Tables\Table;
use Filament\Tables\Actions\DetachAction;
class ParticipantsRelationManager extends RelationManager
{
protected static string $relationship = 'participants';