Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/build_push_bam_loader.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: "Build-push_bam_loader"

on:
push:
branches:
- 'master'
paths:
- 'modules/bam_loader/**'
workflow_dispatch: {} # Allows trigger of workflow from web interface

env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN }}
# Use github and google registries
GHCR_REGISTRY: ghcr.io
GCP_ARTIFACT_HOST: ${{ vars.SHARED_WIF_LOCATON }}-docker.pkg.dev
GCP_REGISTRY: ${{ vars.SHARED_WIF_LOCATON }}-docker.pkg.dev/${{ vars.SHARED_WIF_PROJECT }}/${{ vars.SHARED_WIF_REPO }}
GCP_PROVIDER: ${{ vars.SHARED_WIF_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ vars.SHARED_WIF_SERVICE_ACCOUNT }}
GHCR_NS: battelleecology
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# Get just the repo name from the event, i.e., NEON-IS-data-processing
REPO_NAME: ${{ github.event.repository.name }}
# IS module name
MODULE_PATH: ./modules/bam_loader
IMAGE_NAME: neon-is-bam-loader

jobs:
build-push:
runs-on: ubuntu-latest
permissions:
contents: 'write'
id-token: 'write'
steps:
- name: "Checkout"
uses: "actions/checkout@v4.1.4"
with:
fetch-depth: '0'

- name: Get short SHA
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- name: Build and push
uses: ./.github/actions/build-push
with:
image-tag: "${short_sha}"

49 changes: 49 additions & 0 deletions .github/workflows/build_push_discharge_predict_group.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "Build-push_discharge_predict_group"

on:
push:
branches:
- 'master'
paths:
- 'modules_combined/discharge_predict_group/**'
- 'modules/filter_joiner/**'
- 'flow/flow.discharge.predict/**'
workflow_dispatch: {} # Allows trigger of workflow from web interface

env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN }}
# Use github and google registries
GHCR_REGISTRY: ghcr.io
GCP_ARTIFACT_HOST: ${{ vars.SHARED_WIF_LOCATON }}-docker.pkg.dev
GCP_REGISTRY: ${{ vars.SHARED_WIF_LOCATON }}-docker.pkg.dev/${{ vars.SHARED_WIF_PROJECT }}/${{ vars.SHARED_WIF_REPO }}
GCP_PROVIDER: ${{ vars.SHARED_WIF_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ vars.SHARED_WIF_SERVICE_ACCOUNT }}
GHCR_NS: battelleecology
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# Get just the repo name from the event, i.e., NEON-IS-data-processing
REPO_NAME: ${{ github.event.repository.name }}
# IS module name
MODULE_PATH: ./modules_combined/discharge_predict_group
IMAGE_NAME: neon-is-discharge-predict-group

jobs:
build-push:
runs-on: ubuntu-latest
permissions:
contents: 'write'
id-token: 'write'
steps:
- name: "Checkout"
uses: "actions/checkout@v4.1.4"
with:
fetch-depth: '0'

- name: Get short SHA
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- name: Build and push
uses: ./.github/actions/build-push
with:
image-tag: "${short_sha}"

Loading