Skip to content

Commit

Permalink
Merge branch 'reproducibility-docs' into sjspielman/518-docker-gha
Browse files Browse the repository at this point in the history
  • Loading branch information
sjspielman authored Jun 24, 2024
2 parents 4adb92c + 8ec8fa0 commit b884d5d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build-push-docker-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
description: "Push to AWS ECR"
type: boolean

permissions:
id-token: write
contents: read

jobs:
build-push:
name: Build and Push Docker Image
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/docker_all-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@
# This workflow will run on:
# - Manual trigger
# - Periodic scheduled runs
# - Tagged version releases

name: Build all Docker images
on:
schedule:
# run monthly on the 1st
- cron: "0 0 1 * *"
push:
# build and push all on tagged release
tags:
- "v*.*.*"
workflow_dispatch:
inputs:
push-ecr:
Expand All @@ -34,7 +39,7 @@ jobs:
uses: ./.github/workflows/build-push-docker-module.yml
with:
module: ${{ matrix.module }}
push-ecr: ${{ inputs.push-ecr }}
push-ecr: ${{ github.event_name == 'push' || inputs.push-ecr }}

check-jobs:
name: Check Job Status
Expand Down

0 comments on commit b884d5d

Please sign in to comment.