review: support for Jolokia 2.0.0 #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push Images | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build-images: | |
name: Build Images | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
image: [ | |
'jkube-java', 'jkube-java-17', 'jkube-java-11', 'jkube-jetty9', 'jkube-karaf', 'jkube-remote-dev', 'jkube-tomcat9', 'jkube-tomcat' | |
] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install CEKit | |
uses: cekit/[email protected] | |
- name: Get Tag | |
id: get_version | |
run: | | |
export GITHUB_TAG=${GITHUB_REF/refs\/tags\//} | |
echo "TAG=quay.io/jkube/${{ matrix.image }}:${GITHUB_TAG/v/}" >> $GITHUB_ENV | |
- name: Build ${{ matrix.image }} | |
run: | | |
echo "Building ${TAG}" | |
cekit --descriptor ${{ matrix.image }}.yaml build docker --tag="${TAG}" | |
- name: Push quay.io/jkube/${{ matrix.image }} | |
run: | | |
echo "Pushing ${TAG}" | |
docker login -u=${{ secrets.QUAY_USER }} -p=${{ secrets.QUAY_TOKEN }} quay.io | |
docker push ${TAG} | |