Skip to content

Commit

Permalink
Add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonis committed Oct 25, 2024
1 parent 2432931 commit 77ac0ec
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/aste-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Check ASTE"
on:
pull_request:
paths:
- 'ci-aste.dockerfile'

jobs:
latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make aste
23 changes: 23 additions & 0 deletions .github/workflows/aste.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Update ASTE"
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'ci-aste.dockerfile'

jobs:
latest:
runs-on: ubuntu-latest
env:
image: aste
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}
dockerfile: "./ci-${{ env.image }}.dockerfile"
repository: precice/ci-${{ env.image }}
tags: latest
22 changes: 22 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Daily Update"
on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *' # preCICE nightly runs at 2am, this one two hours later

jobs:
latest:
strategy:
matrix:
image: [aste]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}
dockerfile: "./ci-${{ matrix.image }}.dockerfile"
repository: precice/ci-${{ matrix.image }}
tags: latest

0 comments on commit 77ac0ec

Please sign in to comment.