Skip to content

Applied changes from commit 2db4ff9390f019c346cef4af0f2a3e6eaf4d7735 #8

Applied changes from commit 2db4ff9390f019c346cef4af0f2a3e6eaf4d7735

Applied changes from commit 2db4ff9390f019c346cef4af0f2a3e6eaf4d7735 #8

Workflow file for this run

name: Branch Deleted
on: delete
env:
TAG_NAME: ${{ github.event.ref }}
jobs:
delete:
strategy:
fail-fast: false
matrix:
component:
- name: qubership-opensearch-dbaas-adapter
if: github.event.ref_type == 'branch'
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${GITHUB_ACTOR}
password: ${{secrets.GITHUB_TOKEN}}
- name: Prepare Tag
run: echo "TAG_NAME=$(echo ${TAG_NAME} | sed 's@refs/heads/@@;s@/@_@g')" >> $GITHUB_ENV
- name: Get package IDs for delete
id: get-ids-for-delete
uses: Netcracker/[email protected]
with:
component-name: ${{ matrix.component.name }}
component-tag: ${{ env.TAG_NAME }}
access-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/delete-package-versions@v5
with:
package-name: ${{ matrix.component.name }}
package-type: 'container'
package-version-ids: ${{ steps.get-ids-for-delete.outputs.ids-for-delete }}
if: ${{ steps.get-ids-for-delete.outputs.ids-for-delete != '' }}
++ /tmp/tmp.gH9MAGLZC0/.github/workflows/clean.yml 2025-01-21 15:54:53.261524500 +0500

Check failure on line 38 in .github/workflows/clean.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/clean.yml

Invalid workflow file

You have an error in your yaml syntax on line 38
- name: qubership-backup-daemon
base: alpine
component-tag: ${{ env.TAG_NAME }}_${{ matrix.component.base }}