Docker Images Build #506
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: Docker Images Build | |
on: | |
#push: | |
# branches: [ "master" ] | |
#pull_request: | |
# branches: [ "main" ] | |
schedule: | |
- cron: '35 6 * * *' | |
workflow_dispatch: | |
jobs: | |
trigger-t8: | |
permissions: | |
actions: write | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
# ------------------------- | |
- uses: actions/checkout@v3 | |
name: Checkout | |
# -------------------------- | |
- name: Cache OpenAF runtime | |
uses: actions/cache@v3 | |
with: | |
key : oaf-t8 | |
path: /tmp/oaf | |
# ---------------------- | |
- name: Trigger build t8 | |
uses: openaf/ojob-action@v4 | |
env : | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
ojob: ojob.io/git/hub/workflows | |
args: 'op="trigger" workflow="docker-images.yml" inputs="{baseTag:\"t8\",oafDist:\"t8\",ubi:\"no\"}"' | |
dist: t8 | |
# -------------------------- | |
- name: Trigger build t8 ubi | |
uses: openaf/ojob-action@v4 | |
env : | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
ojob: ojob.io/git/hub/workflows | |
args: 'op="trigger" workflow="docker-images.yml" inputs="{baseTag:\"ubi-t8\",oafDist:\"t8\",ubi:\"yes\"}"' | |
dist: t8 | |
# --------------------------- | |
- name: Trigger build nightly | |
uses: openaf/ojob-action@v4 | |
env : | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
ojob: ojob.io/git/hub/workflows | |
args: 'op="trigger" workflow="docker-images.yml" inputs="{baseTag:\"nightly\",oafDist:\"nightly\",ubi:\"no\"}"' | |
dist: t8 | |
# ------------------------------- | |
- name: Trigger build nightly ubi | |
uses: openaf/ojob-action@v4 | |
env : | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
ojob: ojob.io/git/hub/workflows | |
args: 'op="trigger" workflow="docker-images.yml" inputs="{baseTag:\"ubi-nightly\",oafDist:\"nightly\",ubi:\"yes\"}"' | |
dist: t8 | |
# # ---------------------- | |
# - name: Trigger build t8 | |
# uses: openaf/ojob-action@v4 | |
# env : | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# with: | |
# ojob: ojob.io/git/hub/workflows | |
# args: 'op="trigger" workflow="docker-images-8.yml" inputs="{baseTag:\"8-t8\",oafDist:\"t8\",ubi:\"no\"}"' | |
# dist: t8 | |
# # -------------------------- | |
# - name: Trigger build t8 ubi | |
# uses: openaf/ojob-action@v4 | |
# env : | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# with: | |
# ojob: ojob.io/git/hub/workflows | |
# args: 'op="trigger" workflow="docker-images-8.yml" inputs="{baseTag:\"8-ubi-t8\",oafDist:\"t8\",ubi:\"yes\"}"' | |
# dist: t8 | |
# # --------------------------- | |
# - name: Trigger build nightly | |
# uses: openaf/ojob-action@v4 | |
# env : | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# with: | |
# ojob: ojob.io/git/hub/workflows | |
# args: 'op="trigger" workflow="docker-images-8.yml" inputs="{baseTag:\"8-nightly\",oafDist:\"nightly\",ubi:\"no\"}"' | |
# dist: t8 | |
# # ------------------------------- | |
# - name: Trigger build nightly ubi | |
# uses: openaf/ojob-action@v4 | |
# env : | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# with: | |
# ojob: ojob.io/git/hub/workflows | |
# args: 'op="trigger" workflow="docker-images-8.yml" inputs="{baseTag:\"8-ubi-nightly\",oafDist:\"nightly\",ubi:\"yes\"}"' | |
# dist: t8 |