Skip to content

SQUASH ME: rearrange build args #916

SQUASH ME: rearrange build args

SQUASH ME: rearrange build args #916

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 }}