Build on latest or v* Tag

This commit is contained in:
DerDavidBohl
2025-01-17 16:20:57 +01:00
parent 47b963cfa8
commit 86e1f6f28b
2 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,10 @@
name: Build Docker Image
on: [push]
on:
push:
branches:
- 'latest'
tags:
- 'v*'
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:

View File

@@ -5,12 +5,10 @@ import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
import org.davidbohl.dirigent.deployments.service.GitService;
import org.davidbohl.dirigent.deployments.models.DeploynentConfiguration;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cache.concurrent.ConcurrentMapCacheManager;
import org.springframework.stereotype.Service;
import java.io.File;
import java.io.IOException;
import java.util.List;
@Service
public class DeploymentsConfigurationProvider {