Build & publish eXo Ubuntu images #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# Ubuntu 20 | |
- imageTag: 20 | |
context: 20.04 | |
- imageTag: 20.04 | |
context: 20.04 | |
# Ubuntu 22 | |
- imageTag: 22 | |
context: 22.04 | |
- imageTag: 22.04 | |
context: 22.04 | |
# Ubuntu 24 | |
- imageTag: 24 | |
context: 24.04 | |
- imageTag: 24.04 | |
context: 24.04 | |
### Latest | |
- imageTag: latest | |
context: 24.04 | |
uses: exoplatform/swf-scripts/.github/workflows/buildDockerImage.yml@master | |
with: | |
dockerImage: "exoplatform/ubuntu" | |
dockerImageTag: ${{ matrix.imageTag }} | |
dockerFileContext: ${{ matrix.context }} | |
signImage: true | |
secrets: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
DOCKER_PRIVATE_KEY_ID: ${{ secrets.DOCKER_PRIVATE_KEY_ID }} | |
DOCKER_PRIVATE_KEY: ${{ secrets.DOCKER_PRIVATE_KEY }} | |
DOCKER_PRIVATE_KEY_PASSPHRASE: ${{ secrets.DOCKER_PRIVATE_KEY_PASSPHRASE }} |