Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
Added GH-actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kometen committed Apr 19, 2022
1 parent 8c5cbd5 commit 45cff28
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/call-maven-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-mavenname: Build/publish Docker image & update image version in config

on:
push:
branches: [ main ]

jobs:
call-workflow-maven-build:
uses: felleslosninger/eid-github-workflows/.github/workflows/maven-build-lib.yml@main
with:
java-version: 8
secrets:
maven-user: ${{ secrets.MAVEN_USER }}
maven-password: ${{ secrets.MAVEN_PASSWORD }}
17 changes: 17 additions & 0 deletions .github/workflows/call-maven-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-mavenname: Build/publish Docker image & update image version in config

on:
release:
types: [created]

jobs:
call-workflow-maven-build:
uses: felleslosninger/eid-github-workflows/.github/workflows/maven-release-lib.yml@main
with:
java-version: 8
secrets:
maven-user: ${{ secrets.MAVEN_USER }}
maven-password: ${{ secrets.MAVEN_PASSWORD }}
packages-user: ${{ secrets.CREATE_PACKAGES_USER }}
packages-token: ${{ secrets.CREATE_PACKAGES_TOKEN }}

0 comments on commit 45cff28

Please sign in to comment.