forked from canonical/lxd-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
124 lines (115 loc) · 3.24 KB
/
images.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
name: Build all images
on:
workflow_dispatch:
push:
pull_request:
# schedule:
# # Run at 00:00 UTC daily.
# - cron: '0 0 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# debug:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# # - name: Install git
# # run: |
# # sudo apt-get install -y git
# - name: Print Key length
# env:
# KEY: "${{ secrets.GH_KEY }}"
# run: |
# echo "Length: ${#KEY}"
# - name: Checkout LXD imagebuilder manually
# if: always()
# run: |
# eval "$(ssh-agent -s)"
# echo "${{ secrets.GH_KEY }}" > test.pk
# sudo chmod 600 test.pk
# ssh-add test.pk
# git clone [email protected]:musicdin/lxd-imagebuilder.git
# ls -lah lxd-imagebuilder
# - name: Checkout LXD imagebuilder
# uses: actions/checkout@v4
# if: always()
# with:
# repository: musicdin/lxd-imagebuilder
# path: lxd-imagebuilder2
# ssh-key: "${{ secrets.GH_KEY }}"
# - name: Debug
# run: ls -lah lxd-imagebuilder2
# almalinux:
# uses: ./.github/workflows/image-almalinux.yml
# secrets: inherit
# alpine:
# uses: ./.github/workflows/image-alpine.yml
# secrets: inherit
alt:
uses: ./.github/workflows/image-alt.yml
secrets: inherit
# amazonlinux:
# uses: ./.github/workflows/image-amazonlinux.yml
# secrets: inherit
# archlinux:
# uses: ./.github/workflows/image-archlinux.yml
# secrets: inherit
# busybox:
# uses: ./.github/workflows/image-busybox.yml
# secrets: inherit
# centos:
# uses: ./.github/workflows/image-centos.yml
# secrets: inherit
# debian:
# uses: ./.github/workflows/image-debian.yml
# secrets: inherit
# devuan:
# uses: ./.github/workflows/image-devuan.yml
# secrets: inherit
# fedora:
# uses: ./.github/workflows/image-fedora.yml
# secrets: inherit
# funtoo:
# uses: ./.github/workflows/image-funtoo.yml
# secrets: inherit
# gentoo:
# uses: ./.github/workflows/image-gentoo.yml
# secrets: inherit
# kali:
# uses: ./.github/workflows/image-kali.yml
# secrets: inherit
# mint:
# uses: ./.github/workflows/image-mint.yml
# secrets: inherit
# nixos:
# uses: ./.github/workflows/image-nixos.yml
# secrets: inherit
# openeuler:
# uses: ./.github/workflows/image-openeuler.yml
# secrets: inherit
# opensuse:
# uses: ./.github/workflows/image-opensuse.yml
# secrets: inherit
# openwrt:
# uses: ./.github/workflows/image-openwrt.yml
# secrets: inherit
# oracle:
# uses: ./.github/workflows/image-oracle.yml
# secrets: inherit
# RockyLinux:
# uses: ./.github/workflows/image-rockylinux.yml
# secrets: inherit
# springdalelinux:
# uses: ./.github/workflows/image-springdalelinux.yml
# secrets: inherit
# ubuntu:
# uses: ./.github/workflows/image-ubuntu.yml
# secrets: inherit
# voidlinux:
# uses: ./.github/workflows/image-voidlinux.yml
# secrets: inherit
# slackware:
# uses: ./.github/workflows/image-slackware.yml
# secrets: inherit