Skip to content

Bump io.fabric8:docker-maven-plugin from 0.43.0 to 0.43.2 (#342) #327

Bump io.fabric8:docker-maven-plugin from 0.43.0 to 0.43.2 (#342)

Bump io.fabric8:docker-maven-plugin from 0.43.0 to 0.43.2 (#342) #327

Workflow file for this run

name: Build
on:
push:
branches:
- '**'
# dependabot branches are built via pull request event
- '!dependabot/**'
jobs:
integration-tests:
name: Java ${{ matrix.java }}, MySQL ${{ matrix.mysql }}, MariaDB ${{ matrix.mariadb }}
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 17]
mysql: [5.7, 8]
mariadb: [10]
steps:
- uses: actions/checkout@v3
- name: Install Perl modules
run: |
sudo apt-get update
sudo apt-get install libdbd-mysql-perl
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- name: Run Integration Tests With Maven
shell: bash
run: |
./mvnw --batch-mode --errors --no-transfer-progress --show-version \
clean verify -Prun-its \
-Dmysql_image=mysql:${{ matrix.mysql }} \
-Dmariadb_image=mariadb:${{ matrix.mariadb }}
snapshot-deploy:
name: Deploy Snapshot to Sonatype
runs-on: ubuntu-latest
if: ${{ github.repository == 'liquibase/liquibase-percona' && github.ref == 'refs/heads/main' }}
needs: integration-tests
steps:
- uses: actions/checkout@v3
- name: Install Perl modules
run: |
sudo apt-get update
sudo apt-get install libdbd-mysql-perl
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
server-id: sonatype-nexus-staging
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_SECRET }}
gpg-passphrase: GPG_PASSPHRASE
- id: version
name: Determine Version from POM
shell: bash
run: |
VERSION="$(./mvnw -B -q org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -DforceStdout)"
echo "version=${VERSION}" >> $GITHUB_OUTPUT
- name: Deploy Snapshot with Maven
if: ${{ contains(steps.version.outputs.version, 'SNAPSHOT') }}
run: |
./mvnw --batch-mode --errors --no-transfer-progress --show-version \
-Dmaven.test.skip -Dpmd.skip -Dcpd.skip -Dspotbugs.skip \
clean deploy -Prelease
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_TOKEN }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}