From af7a32e28ed8d043d6e8f2682a1d808e45518a55 Mon Sep 17 00:00:00 2001 From: SRIKUMAR VENUGOPAL Date: Mon, 14 Aug 2023 15:25:48 +0100 Subject: [PATCH] ci: Enable building images in release action Signed-off-by: SRIKUMAR VENUGOPAL --- .github/workflows/release.yml | 40 +++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c2538e5f..5a7ca857 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,26 +39,26 @@ jobs: username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_PASSWORD }} -# - name: Build and push Dataset operator image -# run: | -# cd src/dataset-operator -# ./build_and_push_multiarch_dataset_operator.sh ${{ vars.REGISTRY_URL }} ${{ github.ref_name }} -# - name: Build and push Generate Keys image -# run: | -# cd src/generate-keys -# ./build_and_push_multiarch_generate_keys.sh ${{ vars.REGISTRY_URL }} ${{ github.ref_name }} - -# - name: Build and push bundled CSI plugins -# run: | -# cd build-tools -# make ARCH=amd64 COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} build-csi-plugins -# make ARCH=amd64 COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} push-csi-plugins -# make ARCH=arm64 COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} build-csi-plugins -# make ARCH=arm64 COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} push-csi-plugins -# make ARCH=ppc64le COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} build-csi-plugins -# make ARCH=ppc64le COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} push-csi-plugins -# make COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} push-multiarch-csi-plugins -# + - name: Build and push Dataset operator image + run: | + cd src/dataset-operator + ./build_and_push_multiarch_dataset_operator.sh ${{ vars.REGISTRY_URL }} ${{ github.ref_name }} + - name: Build and push Generate Keys image + run: | + cd src/generate-keys + ./build_and_push_multiarch_generate_keys.sh ${{ vars.REGISTRY_URL }} ${{ github.ref_name }} + + - name: Build and push bundled CSI plugins + run: | + cd build-tools + make ARCH=amd64 COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} build-csi-plugins + make ARCH=amd64 COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} push-csi-plugins + make ARCH=arm64 COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} build-csi-plugins + make ARCH=arm64 COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} push-csi-plugins + make ARCH=ppc64le COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} build-csi-plugins + make ARCH=ppc64le COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} push-csi-plugins + make COMMON_IMAGE_TAG=${{ steps.vars.outputs.sha_short }} push-multiarch-csi-plugins + - name: Install Helm uses: azure/setup-helm@v3