-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (43 loc) · 1.21 KB
/
build.yml
File metadata and controls
48 lines (43 loc) · 1.21 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
name: Build & publish eXo Ubuntu images
on:
schedule:
- cron: '0 20 * * 6' # Every Saturday at 8 PM UTC
workflow_dispatch:
jobs:
build-ubuntu-images:
name: "Build Ubuntu Images"
runs-on: ubuntu-latest
permissions:
id-token: write
packages: write
contents: read
attestations: write
strategy:
fail-fast: false
matrix:
include:
# Ubuntu 20.04
- context: 20.04
imageTag: 20,20.04
# Ubuntu 22.04
- context: 22.04
imageTag: 22,22.04
# Ubuntu 24.04 (latest)
- context: 24.04
imageTag: 24,24.04,latest
# Ubuntu 26.04
- context: 26.04
imageTag: 26,26.04
# Rolling
- context: rolling
imageTag: rolling
steps:
- name: "Build and push Docker images"
uses: exo-actions/buildDockerImage-action@v1
with:
dockerImage: "exoplatform/ubuntu"
dockerImageTag: ${{ matrix.imageTag }}
dockerFileContext: ${{ matrix.context }}
attestImage: true
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}