Skip to content

feat: iframe in relfinder page #45

feat: iframe in relfinder page

feat: iframe in relfinder page #45

Workflow file for this run

name: Push to dev 👷‍♂️
on:
workflow_dispatch:
push:
branches:
- dev
paths:
- agrold-javaweb/src/**
- agrold-javaweb/pom.xml
- agrold-javaweb/Dockerfile
# This workflow will build a docker container, publish it to our private registry
# tagged as latest and with latest commit hash (shortened)
jobs:
build:
runs-on: self-hosted
env:
IMAGENAME: agrolddev
outputs:
BUILD_DATE: ${{ steps.variables.outputs.build_date }}
GIT_COMMIT: ${{ steps.variables.outputs.sha_short }}
NAME: ${{ env.IMAGENAME }}
steps:
- name: Clone project
uses: actions/checkout@v3
# =============================
# This will be activated later
# =============================
# - name : Set up JDK 11
# uses: actions/setup-java@v2
# with:
# java-version: '11'
# distribution: 'adopt'
# cache: 'maven'
# - name: install dependencies
# run: mvn install -DskipTests
# - name: Run JUNIT tests
# run: mvn test
- name: Get short commit hash
id: variables
run: |
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
echo "build_date=$(date --rfc-3339=ns)" >> $GITHUB_OUTPUT
build_n_push_private:
needs: build
uses: ./.github/workflows/push_to_private.yml
with:
build-args: AGROLD_NAME=${{ needs.build.outputs.NAME }},AGROLD_DESCRIPTION="Agrold from commit ${{ needs.build.outputs.GIT_COMMIT }}",GIT_COMMIT=${{ needs.build.outputs.GIT_COMMIT}},BUILD_DATE="${{ needs.build.outputs.BUILD_DATE }}"
context: ./agrold-javaweb
dockerfile: ./agrold-javaweb/Dockerfile
image_name: agrolddev
tag: ${{ needs.build.outputs.GIT_COMMIT }}
registry_host: "10.9.2.21:8080"
secrets:
DOCKER_REGISTRY_USER: ${{ secrets.DOCKER_REGISTRY_USER }}
DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}