Skip to content

Update docker.io/floryn90/hugo Docker tag to v0.153.4 #465

Update docker.io/floryn90/hugo Docker tag to v0.153.4

Update docker.io/floryn90/hugo Docker tag to v0.153.4 #465

Workflow file for this run

name: Pull Request Cleanup
on:
pull_request:
types: [closed]
workflow_dispatch:
inputs:
pr_number:
description: 'Optional PR number to use for cleanup'
required: false
type: string
env:
ORG: '${{ github.repository_owner }}'
PACKAGE_NAME: '${{ github.event.repository.name }}'
PACKAGE_TYPE: 'container'
TAG: >-
pr-${{ github.event.pull_request.number || inputs.pr_number }}
LOGIN_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
cleanup_helm:
runs-on: ubuntu-latest
env:
TRAINING_HELM_RELEASE: >-
pr-${{ github.event.pull_request.number || inputs.pr_number }}
TRAINING_NAMESPACE: 'pitc-cicd-amm-techlab-test'
KUBE_CONFIG_PATH: '$HOME/.kube'
KUBE_CONFIG_FILENAME: 'config'
steps:
- name: Checkout
uses: actions/checkout@v5
with:
sparse-checkout: |
scripts
sparse-checkout-cone-mode: false
- name: Install Helm
uses: azure/setup-helm@v4
with:
version: 'latest'
- name: Install Kubectl
uses: azure/setup-kubectl@v4
with:
version: 'latest'
- name: Create KUBECONFIG
env:
KUBE_CONFIG: '${{ secrets.KUBECONFIG_TEST_AV2 }}'
run: bash ./scripts/create_kubeconfig.sh
- name: Remove PR Environment Helm Release
run: bash ./scripts/remove_helm_release.sh
cleanup_registry:
runs-on: ubuntu-latest
needs: cleanup_helm
steps:
- name: Checkout Repository
uses: actions/checkout@v5
with:
sparse-checkout: |
scripts
sparse-checkout-cone-mode: false
fetch-depth: 0
- name: Run registry cleanup script
run: bash ./scripts/cleanup_registry.sh
cleanup_signatures:
runs-on: ubuntu-latest
needs: cleanup_registry
steps:
- name: Checkout Repository
uses: actions/checkout@v5
with:
sparse-checkout: |
scripts
sparse-checkout-cone-mode: false
fetch-depth: 0
- name: Run signatures cleanup script
run: bash ./scripts/cleanup_signatures.sh