mirror of
https://github.com/DerDavidBohl/dirigent-spring.git
synced 2026-01-06 00:40:07 -06:00
Build on latest or v* Tag
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user