Skip to content

Try to add env var to reusable workflow #9

Try to add env var to reusable workflow

Try to add env var to reusable workflow #9

on:
push:
branches:
- ekw/SRE-1005/release-static-libraries
tags:
- static-libraries-*
env:
SERVICE_NAME: "static-libraries"
jobs:
output-var:
runs-on: ubuntu-latest
outputs:
SERVICE_NAME: ${{env.SERVICE_NAME}}
steps:
- run: echo "Outputting var"
release-base-image:
if: ${{ startsWith(github.ref_name, '${{env.SERVICE_NAME}}') }}
uses: concordium/.github/.github/workflows/docker-release-workflow.yaml@main
with:
SERVICE_NAME: ${{needs.output-var.outputs.SERVICE_NAME}}
BUILD_ARGS: |
ubuntu_version=20.04
rust_version=1.73.0
ghc_version=9.6.4
stack_version=2.13.1
protoc_version=3.15.3
DOCKER_FILE: docker/static-libraries.Dockerfile
VERSION: "rust-1.73.0_ghc-9.6.4-test"
secrets: inherit