-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (41 loc) · 1.06 KB
/
docker-image.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Docker
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
push:
branches: [ "prune-image-versions" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
paths-ignore:
- 'README.md'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
delete-untagged-versions:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Delete untagged versions
uses: actions/delete-package-versions@v4
with:
package-name: 'cmm262-notebook'
package-type: 'container'
min-versions-to-keep: 30
ignore-versions:
- programming-R
- stats
- rna-seq
- scrna-seq
- networks
- chipseq
- gwas
- imgproc
- popgen
- spatial-tx
- variant_calling
- pr-15