Skip to content

Bump quarkus.platform.version from 3.3.3 to 3.5.3 #93

Bump quarkus.platform.version from 3.3.3 to 3.5.3

Bump quarkus.platform.version from 3.3.3 to 3.5.3 #93

Workflow file for this run

name: ci
on: push
env:
TEST_TAG: image-test
PICT_VERSION: 3.7.4
REVISION: ${{ inputs.ref || github.head_ref || github.ref_name }}
COMMIT_HASH: ${{ github.sha }}
BUILD_TIME: ${{ github.event.head_commit.timestamp }}
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build test image
uses: docker/build-push-action@v3
with:
load: true
tags: ${{ env.TEST_TAG }}
-
name: Test image runs pict
# If the string is not found in the output grep will exit with error status
run: |
docker run --rm ${{ env.TEST_TAG }} pict | grep "Pairwise Independent Combinatorial Testing"
- name: Build and push feature branch
if: github.ref != 'refs/heads/main'
env:
COMMIT_HASH: ${{ env.COMMIT_HASH }}
BUILD_TIME: ${{ env.BUILD_TIME }}
uses: docker/build-push-action@v3
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
renfis/pict:feature-${{ env.REVISION }}
build-args: |
COMMIT_HASH=${{ env.COMMIT_HASH }}
BUILD_TIME=${{ env.BUILD_TIME }}
-
name: Build and push main
if: github.ref == 'refs/heads/main'
env:
COMMIT_HASH: ${{ env.COMMIT_HASH }}
BUILD_TIME: ${{ env.BUILD_TIME }}
uses: docker/build-push-action@v3
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
renfis/pict:latest
renfis/pict:${{ env.PICT_VERSION }}
build-args: |
COMMIT_HASH=${{ env.COMMIT_HASH }}
BUILD_TIME=${{ env.BUILD_TIME }}