Skip to content

Commit

Permalink
Applied changes from commit 2db4ff9390f019c346cef4af0f2a3e6eaf4d7735
Browse files Browse the repository at this point in the history
  • Loading branch information
alty1224 committed Jan 20, 2025
1 parent 8004ca8 commit e47c8a6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ jobs:
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 != '' }}
- name: qubership-backup-daemon
base: alpine
component-tag: ${{ env.TAG_NAME }}_${{ matrix.component.base }}
access-token: ${{ secrets.GITHUB_TOKEN }}
20 changes: 19 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,22 @@ jobs:
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 != '' }}
if: ${{ steps.get-ids-for-delete.outputs.ids-for-delete != '' }} workflow_dispatch:
inputs:
publish_docker:
description: "Publish image to ghcr.io"
type: boolean
default: true
required: false
PUSH: ${{ (github.event_name == 'workflow_dispatch' && inputs.publish_docker) || !startsWith(github.ref, 'refs/heads/dependabot') }}
GITHUB_GROUP: ${{ github.repository_owner }}
- name: qubership-backup-daemon
file: alpine/Dockerfile
base: alpine
- name: Prepare Group
run: echo "GITHUB_GROUP=${GITHUB_GROUP,,}" >> $GITHUB_ENV
component-tag: ${{ env.TAG_NAME }}_${{ matrix.component.base }}
access-token: ${{ secrets.GITHUB_TOKEN }}
if: ${{ env.PUSH }}
context: ${{ matrix.component.dir }}
tags: ghcr.io/${{ env.GITHUB_GROUP }}/${{ matrix.component.name }}:${{ env.TAG_NAME }}_${{ matrix.component.base }}

0 comments on commit e47c8a6

Please sign in to comment.