Skip to content

feat(stages)!: staged builds for images #29

feat(stages)!: staged builds for images

feat(stages)!: staged builds for images #29

Workflow file for this run

name: Build, test, and push Docker Images
on:
push:
branches:
- "master"
paths:
- ".github/workflows/docker.yml"
- "images/**"
- "!images/*/README.md"
- "tests/**"
- "!tests/README.md"
- "requirements-dev.txt"
pull_request:
paths:
- ".github/workflows/docker.yml"
- "images/**"
- "!images/*/README.md"
- "tests/**"
- "!tests/README.md"
- "requirements-dev.txt"
env:
REGISTRY_NAME: k8scc01covidacr
DEV_REGISTRY_NAME: k8scc01covidacrdev
jobs:
base-cpu:
uses: ./.github/workflows/docker-build-test-upload.yaml
with:
parent-image: ""
image: "base-cpu"
registry-name: "${{ env.DEV_REGISTRY_NAME }}"

Check failure on line 34 in .github/workflows/docker.yaml

View workflow run for this annotation

GitHub Actions / Build, test, and push Docker Images

Invalid workflow file

The workflow is not valid. .github/workflows/docker.yaml (Line: 34, Col: 22): Unrecognized named-value: 'env'. Located at position 1 within expression: env.DEV_REGISTRY_NAME .github/workflows/docker.yaml (Line: 43, Col: 22): Unrecognized named-value: 'env'. Located at position 1 within expression: env.DEV_REGISTRY_NAME
secrets:
REGISTRY_USERNAME: ${{ secrets.DEV_REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DEV_REGISTRY_PASSWORD }}
base-kubeflow:
uses: ./.github/workflows/docker-build-test-upload.yaml
with:
parent-image: "base-cpu"
image: "base-kubeflow"
registry-name: "${{ env.DEV_REGISTRY_NAME }}"
secrets:
REGISTRY_USERNAME: ${{ secrets.DEV_REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DEV_REGISTRY_PASSWORD }}