Skip to content

Update Dockerfile-fips #6

Update Dockerfile-fips

Update Dockerfile-fips #6

Workflow file for this run

name: Brnach orca 1.28.4 build
on:
push:
branches:
- 'v8.24.4-1.28.4'
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false -Xmx6g -Xms6g
CONTAINER_REGISTRY: quay.io/opsmxpublic
jobs:
build-orca:
runs-on: ubuntu-latest
steps:
- name: Checkout orca repo
uses: actions/checkout@v3
###with:
#repository: opsmx/orca
#ref: refs/heads/master
- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 11
cache: 'gradle'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Prepare build variables
id: build_variables
run: |
echo ::set-output name=REPO::"ubi8-oes-orca"
echo ::set-output name=VERSION::"1.28.4"
#echo ::set-output name=VERSION::"$(git rev-parse --short HEAD)-$(date --utc +'%Y%m%d%H%M')"
echo "::set-output name=GITHASH::$(git rev-parse --short HEAD)"
#echo "::set-output name=BUILDDATE::$(date -u +"%Y%m%d%H%M")"
echo ::set-output name=CTAG::"54-patch1"
- name: Build
run: ./gradlew --no-daemon orca-web:installDist -x test
- name: Login to Quay
#if: startsWith(github.repository, ‘yugaa22/‘)
uses: docker/login-action@v1
with:
registry: ${{ secrets.QUAY_REPOSITRY }}
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: dockerBuildpush
# Only run this on repositories in the 'spinnaker' org, not on forks.
uses: docker/build-push-action@v2
with:
build-args: |
CUSTOMPLUGIN_RELEASEVERSION_PLUGIN=v4.0.3.1-rc8
CUSTOMPLUGIN_RELEASEORG=opsmx
CUSTOMPLUGIN_RELEASE_VERSION=1.0.1
context: .
file: docker/ubi8/Dockerfile-fips
push: true
tags: |
"${{ env.CONTAINER_REGISTRY }}/${{ steps.build_variables.outputs.REPO }}:${{ steps.build_variables.outputs.VERSION }}-${{ steps.build_variables.outputs.GITHASH }}-${{ steps.build_variables.outputs.CTAG }}"
- id: get-build-name
run: |
imageName=${{ env.CONTAINER_REGISTRY }}/${{ steps.build_variables.outputs.REPO }}:${{ steps.build_variables.outputs.VERSION }}-${{ steps.build_variables.outputs.GITHASH }}-${{ steps.build_variables.outputs.CTAG }}"