Skip to content

Commit

Permalink
add temporary workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EddeCCC committed Feb 21, 2024
1 parent ab89fcb commit 2e68d53
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/eumserver_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Push Docker Image

on:
pull_request:
branches:
- main

jobs:
build_and_publish_docker_images:
name: "Build and Push Docker Images"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: actions/setup-java@v3
with:
java-version: 17 # Spring 3 needs at least java 17
distribution: temurin
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Docker Images
run: ./gradlew dockerTag -PbuildVersion=2.6.0
- name: Push Docker Images
run: |
docker login -u ${{ secrets.DOCKER_HUB_USER }} -p ${{ secrets.DOCKER_HUB_PASSWORD }}
docker push inspectit/inspectit-ocelot-eum-server:2.6.0
docker push inspectit/inspectit-ocelot-eum-server:latest

0 comments on commit 2e68d53

Please sign in to comment.