-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (50 loc) · 1.24 KB
/
docker.yml
File metadata and controls
63 lines (50 loc) · 1.24 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Docker
on: [push, workflow_dispatch]
permissions:
contents: read
packages: write
env:
IMAGE_AUTHOR: mentalfs
IMAGE_NAME: linuxserver-mods
jobs:
freshrss-extensions:
uses: ./.github/workflows/image.yml
with:
path: freshrss-extensions
tag: freshrss-extensions
secrets: inherit
freshrss-comicsinfeed:
uses: ./.github/workflows/image.yml
with:
path: freshrss-comicsinfeed
tag: freshrss-comicsinfeed
secrets: inherit
freshrss-redditsub:
uses: ./.github/workflows/image.yml
with:
path: freshrss-redditsub
tag: freshrss-redditsub
secrets: inherit
freshrss-all:
needs:
- freshrss-extensions
- freshrss-comicsinfeed
- freshrss-redditsub
uses: ./.github/workflows/image.yml
with:
path: freshrss-*
tag: freshrss-all
secrets: inherit
prune:
if: ${{ github.ref == 'refs/heads/main' }}
needs:
- freshrss-all
runs-on: ubuntu-latest
steps:
- name: Delete untagged images
uses: actions/delete-package-versions@v5
with:
package-name: ${{ env.IMAGE_NAME }}
package-type: container
delete-only-untagged-versions: 'true'
token: ${{ secrets.GITHUB_TOKEN }}