Skip to content

Change workflow implementation to use different files for each step #1

Change workflow implementation to use different files for each step

Change workflow implementation to use different files for each step #1

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches:
- main
jobs:
build:
uses: ./.github/workflows/build-steps.yml

Check failure on line 10 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / CI/CD Pipeline

Invalid workflow file

The workflow is not valid. In .github/workflows/main.yml (Line: 10, Col: 11): Error from called workflow marcuss/go-everywhere/.github/workflows/build-steps.yml@afe60d12ec426959a571356727625e663ed10cd3 (Line: 5, Col: 14): Unexpected value 'inherit'
deploy:
needs: build
runs-on: ubuntu-latest
if: ${{ always() }} # Ensure this job only runs if the build workflow succeeded
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set image URI
run: echo "IMAGE_URI=${{ needs.build.outputs.image }}" >> $GITHUB_ENV
- name: Deploy to EKS
uses: ./.github/workflows/deploy-steps.yml
with:
image: ${{ needs.build.outputs.image }}