Skip to content

Bump io.fabric8:docker-maven-plugin from 0.43.4 to 0.44.0 #286

Bump io.fabric8:docker-maven-plugin from 0.43.4 to 0.44.0

Bump io.fabric8:docker-maven-plugin from 0.43.4 to 0.44.0 #286

Workflow file for this run

name: build
on:
push:
branches:
- main
tags:
- '*'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
outputs:
app-version: ${{ steps.app-version.outputs.version }}
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: fix git tags
run: |
# https://github.com/actions/checkout/issues/290
git fetch --tags --force
- uses: brpaz/[email protected]
- name: Setup java
uses: evryfs/[email protected]
with:
java-version: 17
cache: true
- name: Login to QUAY
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Run build
run: mvn clean deploy -Ddocker.registry=quay.io
- name: export version
id: app-version
run: echo "::set-output name=version::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"
test:
runs-on: ubuntu-latest
needs: build
steps:
- name: Install kind
uses: helm/[email protected]
with:
node_image: "kindest/node:v1.23.0"
- name: install image
run: |
helm install test spring-boot-admin --wait --repo https://evryfs.github.io/helm-charts/ --set image.tag=${{ needs.build.outputs.app-version }}