diff --git a/workflow-templates/cleanup-old-docker-container.yaml b/workflow-templates/cleanup-old-docker-container.yaml index 3f94a5b..2879303 100644 --- a/workflow-templates/cleanup-old-docker-container.yaml +++ b/workflow-templates/cleanup-old-docker-container.yaml @@ -56,7 +56,7 @@ jobs: echo "**Debug**: $DEBUG" - name: "Run Container Package Cleanup Action" - uses: netcracker/qubership-workflow-hub/actions/container-package-cleanup@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/container-package-cleanup@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: threshold-days: ${{ env.THRESHOLD_DAYS }} included-tags: ${{ env.INCLUDED_TAGS }} diff --git a/workflow-templates/dev-docker-build-multiple-images.yml b/workflow-templates/dev-docker-build-multiple-images.yml index fd124a4..95f2715 100644 --- a/workflow-templates/dev-docker-build-multiple-images.yml +++ b/workflow-templates/dev-docker-build-multiple-images.yml @@ -67,7 +67,7 @@ jobs: persist-credentials: false - name: Get Configuration File - uses: netcracker/qubership-workflow-hub/actions/docker-config-resolver@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/docker-config-resolver@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 id: config with: file-path: "${{ env.CONFIG_FILE }}" @@ -90,7 +90,7 @@ jobs: persist-credentials: false - name: "Create name" - uses: netcracker/qubership-workflow-hub/actions/metadata-action@5a557213e92e3d22d0292330c4817c82af6704d2 # v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/metadata-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd # v2.2.0 id: metadata with: default-template: "{{ref-name}}" @@ -115,7 +115,7 @@ jobs: echo "**Tags:** ${{ steps.prepare_tags.outputs.tags }}" >> $GITHUB_STEP_SUMMARY - name: "Build and Publish Docker Image" - uses: netcracker/qubership-workflow-hub/actions/docker-action@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/docker-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: component: ${{ toJson(matrix.component) }} platforms: ${{ matrix.component.platforms }} diff --git a/workflow-templates/dev-docker-build-selective.yml b/workflow-templates/dev-docker-build-selective.yml index 2ab940a..ccbe039 100644 --- a/workflow-templates/dev-docker-build-selective.yml +++ b/workflow-templates/dev-docker-build-selective.yml @@ -107,13 +107,13 @@ jobs: fi - name: Get Configuration File - uses: netcracker/qubership-workflow-hub/actions/docker-config-resolver@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/docker-config-resolver@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 id: config with: file-path: "updated_config.json" - name: Create tags for images - uses: netcracker/qubership-workflow-hub/actions/metadata-action@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/metadata-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 id: meta with: default-template: "{{ref-name}}" @@ -133,7 +133,7 @@ jobs: component: ${{ fromJson(needs.prepare.outputs.packages) }} steps: - name: Docker - uses: netcracker/qubership-workflow-hub/actions/docker-action@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/docker-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: ref: ${{ github.ref }} dry-run: ${{ github.event.inputs.dry-run || github.event_name == 'pull_request' }} diff --git a/workflow-templates/dev-docker-build-single-image.yml b/workflow-templates/dev-docker-build-single-image.yml index 9b2ae66..5b4879a 100644 --- a/workflow-templates/dev-docker-build-single-image.yml +++ b/workflow-templates/dev-docker-build-single-image.yml @@ -68,7 +68,7 @@ jobs: persist-credentials: false - name: "Create name" - uses: netcracker/qubership-workflow-hub/actions/metadata-action@5a557213e92e3d22d0292330c4817c82af6704d2 # v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/metadata-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd # v2.2.0 id: metadata - name: "Prepare tags" @@ -89,7 +89,7 @@ jobs: echo "**Tags:** ${{ steps.prepare_tags.outputs.tags }}" >> $GITHUB_STEP_SUMMARY - name: "Build and Publish Docker Image" - uses: netcracker/qubership-workflow-hub/actions/docker-action@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/docker-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: custom-image-name: ${{ github.event.inputs.custom-image-name || '' }} platforms: ${{ env.PLATFORMS }} diff --git a/workflow-templates/dev-mvn-docker-build.yml b/workflow-templates/dev-mvn-docker-build.yml index f74110c..b470a01 100644 --- a/workflow-templates/dev-mvn-docker-build.yml +++ b/workflow-templates/dev-mvn-docker-build.yml @@ -68,7 +68,7 @@ jobs: persist-credentials: false - name: "Maven build artifact" - uses: netcracker/qubership-workflow-hub/actions/maven-snapshot-deploy@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/maven-snapshot-deploy@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: maven-command: "${{ github.event.inputs.maven-command || '--batch-mode clean install -Dgpg.skip=true' }}" java-version: ${{ github.event.inputs.java-version || '21' }} @@ -95,7 +95,7 @@ jobs: echo "**Tags:** ${{ steps.prepare_tags.outputs.tags }}" >> $GITHUB_STEP_SUMMARY - name: "Build and Publish Docker Image" - uses: netcracker/qubership-workflow-hub/actions/docker-action@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/docker-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: custom-image-name: ${{ github.event.inputs.custom-image-name || '' }} platforms: ${{ env.PLATFORMS }} diff --git a/workflow-templates/docker-release.yaml b/workflow-templates/docker-release.yaml index 34cda60..6ccc904 100644 --- a/workflow-templates/docker-release.yaml +++ b/workflow-templates/docker-release.yaml @@ -34,7 +34,7 @@ jobs: steps: - name: "Check if tag exists" id: check_tag - uses: netcracker/qubership-workflow-hub/actions/tag-action@5a557213e92e3d22d0292330c4817c82af6704d2 # v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/tag-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd # v2.2.0 with: tag-name: 'v${{ inputs.release }}' ref: ${{ github.ref }} @@ -91,7 +91,7 @@ jobs: contents: write steps: - name: "Create Tag" - uses: netcracker/qubership-workflow-hub/actions/tag-action@5a557213e92e3d22d0292330c4817c82af6704d2 # v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/tag-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd # v2.2.0 with: tag-name: 'v${{ inputs.release }}' ref: ${{ github.ref }} @@ -118,7 +118,7 @@ jobs: echo "IMAGE_VERSION=${{ inputs.release }}" >> $GITHUB_ENV - name: "Docker build and publish" - uses: netcracker/qubership-workflow-hub/actions/docker-action@5a557213e92e3d22d0292330c4817c82af6704d2 # v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/docker-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd # v2.2.0 with: ref: 'v${{ inputs.release }}' download-artifact: false diff --git a/workflow-templates/maven-release-v2.yaml b/workflow-templates/maven-release-v2.yaml index 425963e..c18b681 100644 --- a/workflow-templates/maven-release-v2.yaml +++ b/workflow-templates/maven-release-v2.yaml @@ -72,7 +72,7 @@ jobs: packages: write steps: - name: "Build and Publish current SNAPSHOT (dry run)" - uses: netcracker/qubership-workflow-hub/actions/maven-release@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/maven-release@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: version-type: ${{ github.event.inputs.version-type }} ref: ${{ github.ref }} @@ -107,7 +107,7 @@ jobs: - name: "Build and Publish" id: build-and-publish - uses: netcracker/qubership-workflow-hub/actions/maven-release@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/maven-release@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: version-type: ${{ github.event.inputs.version-type }} ref: ${{ github.ref }} @@ -165,7 +165,7 @@ jobs: - name: "Prepare Docker tags" if: ${{ github.event.inputs.mark-as-latest != 'true' }} id: meta - uses: netcracker/qubership-workflow-hub/actions/metadata-action@v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/metadata-action@v2.2.0 with: default-template: "{{major}}.{{minor}}.{{patch}},{{major}}.{{minor}},{{major}}" ref: ${{ needs.deploy.outputs.release-version }} @@ -177,7 +177,7 @@ jobs: - name: "Docker Build" id: docker_build - uses: netcracker/qubership-workflow-hub/actions/docker-action@v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/docker-action@v2.2.0 with: ref: v${{ needs.deploy.outputs.release-version }} download-artifact: true diff --git a/workflow-templates/maven-snapshot-deploy.yaml b/workflow-templates/maven-snapshot-deploy.yaml index 4a82aa7..b48ce85 100644 --- a/workflow-templates/maven-snapshot-deploy.yaml +++ b/workflow-templates/maven-snapshot-deploy.yaml @@ -34,7 +34,7 @@ jobs: persist-credentials: false - name: "Deploy Maven Snapshot Artifact" - uses: netcracker/qubership-workflow-hub/actions/maven-snapshot-deploy@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/maven-snapshot-deploy@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: java-version: '21' # Specify the Java version to use for the build target-store: 'github' # or 'central' for Maven Central repository diff --git a/workflow-templates/npm-release.yaml b/workflow-templates/npm-release.yaml index 80376e4..3673683 100644 --- a/workflow-templates/npm-release.yaml +++ b/workflow-templates/npm-release.yaml @@ -90,7 +90,7 @@ jobs: - name: "Check if tag exists" id: check_tag - uses: netcracker/qubership-workflow-hub/actions/tag-action@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/tag-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: tag-name: 'v${{ github.event.inputs.version }}' ref: ${{ github.ref }} @@ -131,7 +131,7 @@ jobs: needs: [npm-publish] steps: - name: Create tag - uses: netcracker/qubership-workflow-hub/actions/tag-action@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/tag-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: tag-name: 'v${{ github.event.inputs.version }}' ref: ${{ github.ref }} diff --git a/workflow-templates/pr-assigner.yml b/workflow-templates/pr-assigner.yml index b89f271..14c7e1f 100644 --- a/workflow-templates/pr-assigner.yml +++ b/workflow-templates/pr-assigner.yml @@ -30,6 +30,6 @@ jobs: persist-credentials: false - name: "Assign Reviewers" - uses: netcracker/qubership-workflow-hub/actions/pr-assigner@5a557213e92e3d22d0292330c4817c82af6704d2 #2.1.2 + uses: netcracker/qubership-workflow-hub/actions/pr-assigner@d11baa8a4b42d1a931808c0766ee23eb344c47dd #2.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/workflow-templates/python-release.yaml b/workflow-templates/python-release.yaml index 3fc6055..3cec051 100644 --- a/workflow-templates/python-release.yaml +++ b/workflow-templates/python-release.yaml @@ -59,7 +59,7 @@ jobs: - name: Check if tag exists if: ${{ inputs.version != '' }} id: check_tag - uses: netcracker/qubership-workflow-hub/actions/tag-action@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/tag-action@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: tag-name: 'v${{ inputs.version }}' ref: ${{ github.ref }} @@ -94,7 +94,7 @@ jobs: - name: "Publish to PyPI" id: publish - uses: netcracker/qubership-workflow-hub/actions/poetry-publisher@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/poetry-publisher@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 with: package_version: ${{ inputs.version }} poetry_version_bump: ${{ inputs.poetry-version-options }} diff --git a/workflow-templates/security-scan-apihub.yml b/workflow-templates/security-scan-apihub.yml index 626d8aa..909c8b4 100644 --- a/workflow-templates/security-scan-apihub.yml +++ b/workflow-templates/security-scan-apihub.yml @@ -60,7 +60,7 @@ jobs: steps: - name: List GHCR packages for this repo id: ghcr - uses: Netcracker/qubership-workflow-hub/actions/ghcr-discover-repo-packages@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: Netcracker/qubership-workflow-hub/actions/ghcr-discover-repo-packages@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 env: GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} diff --git a/workflow-templates/security-scan-with-config.yml b/workflow-templates/security-scan-with-config.yml index d25cf79..9c31be2 100644 --- a/workflow-templates/security-scan-with-config.yml +++ b/workflow-templates/security-scan-with-config.yml @@ -64,7 +64,7 @@ jobs: # See: https://github.com/Netcracker/qubership-workflow-hub/tree/main/actions/docker-config-resolver - name: Get Configuration File - uses: netcracker/qubership-workflow-hub/actions/docker-config-resolver@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: netcracker/qubership-workflow-hub/actions/docker-config-resolver@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 id: config with: file-path: ".qubership/docker.cfg" diff --git a/workflow-templates/security-scan.yml b/workflow-templates/security-scan.yml index c6f19b8..556b4a1 100644 --- a/workflow-templates/security-scan.yml +++ b/workflow-templates/security-scan.yml @@ -60,7 +60,7 @@ jobs: steps: - name: List GHCR packages for this repo id: ghcr - uses: Netcracker/qubership-workflow-hub/actions/ghcr-discover-repo-packages@5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2 + uses: Netcracker/qubership-workflow-hub/actions/ghcr-discover-repo-packages@d11baa8a4b42d1a931808c0766ee23eb344c47dd #v2.2.0 env: GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}