Skip to content

fix(ci): trigger maintenance snapshot version (#277) #918

fix(ci): trigger maintenance snapshot version (#277)

fix(ci): trigger maintenance snapshot version (#277) #918

name: Build, test, and publish CE
on: [pull_request, push, workflow_dispatch]
jobs:
build-and-test:
runs-on: ubuntu-22.04
strategy:
matrix:
DISTRO: [tomcat, wildfly, run]
steps:
- uses: actions/checkout@v3
- name: Execute pipeline
run: ./pipeline.sh
env:
DISTRO: ${{ matrix.DISTRO }}
EE: false
NEXUS_PASS: ${{ secrets.NEXUS_PASS }}
NEXUS_USER: ${{ secrets.NEXUS_USER }}
- name: Publish image
if: ${{ github.ref == 'refs/heads/next' || startsWith(github.ref, 'refs/heads/7.') }}
run: ./release.sh
env:
DISTRO: ${{ matrix.DISTRO }}
EE: false
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}