Skip to content

TESTING: purge only job #380

TESTING: purge only job

TESTING: purge only job #380

Workflow file for this run

name: next
on:
push:
branches:
- next
env:
SHELLCHECK_VERSION: v0.7.1
SHELLCHECK_SHA256: 64f17152d96d7ec261ad3086ed42d18232fcb65148b44571b564d688269d36c8
NEWT_VERSION: 0.52.21
NEWT_SHA256: 265eb46b55d7eaeb887fca7a1d51fe115658882dfe148164b6c49fccac5abb31
jobs:
build_containers:
name: Build, test and deploy container images
runs-on: ubuntu-latest
strategy:
matrix:
image-name: ["kas", "kas-isar"]
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Set up docker build
uses: ./.github/actions/docker-init
with:
deploy-user: ${{ secrets.PACKAGE_DEPLOY_USER }}
deploy-token: ${{ secrets.PACKAGE_DEPLOY_TOKEN }}
- name: Purge oldest untagged ${{ matrix.image-name }} images
uses: actions/delete-package-versions@v5
with:
package-name: kas/${{ matrix.image-name }}
package-type: container
min-versions-to-keep: 10
delete-only-untagged-versions: true