Skip to content

added test branch to trigger #2

added test branch to trigger

added test branch to trigger #2

# Workflow for building OGC application packages
#
# Steps:
#
# 1. Parse the input algorithm config to retrieve the build parameters.
# 2. Build OGC application package executable (docker image).
# 3. Generate the application package process cwl.
# 4. Push the OGC application package executable to the image registry.
on:
push:
branches:
- main
- feature/app-pack-gen
jobs:
build_ogc_app_pack:
runs-on: ubuntu-latest
steps:
- name: Generate build config for algorithm
run: python3 generate_build_config.py algorithm_configs/algorithm_config.yaml
- name: Source build config environment variables
run: echo ${{ github.workspace }}
run: source ${{ github.workspace }}/config.txt

Check failure on line 23 in .github/workflows/build-ogc-app-pack.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-ogc-app-pack.yml

Invalid workflow file

The workflow is not valid. .github/workflows/build-ogc-app-pack.yml (Line: 23, Col: 9): 'run' is already defined .github/workflows/build-ogc-app-pack.yml (Line: 25, Col: 14): Unrecognized named-value: 'REPO_NAME'. Located at position 1 within expression: REPO_NAME
- name: Build OGC application package executable
run: docker build -t ${{REPO_NAME}}:${{BRANCH}} -f docker/Dockerfile .
- name: Build OGC application package process cwl
run: python3 generate_app_pack.py algorithm_configs/algorithm_config.yaml $(basename ${ogc_container_url})
- name: Push OGC application package executable to image registry
run: echo Push to image registry not yet implemented.