Skip to content

Manually build both images and test #6

Manually build both images and test

Manually build both images and test #6

Workflow file for this run

name: Manually build both images and test
on:
workflow_dispatch:
inputs:
tag:
type: string
required: true
platform:
type: choice
options:
- AWS
- DigitalOcean
- Both
jobs:
detect-source:
runs-on: ubuntu-latest
outputs:
source: ${{ steps._id.outputs.source }}
steps:
- id: _id
shell: bash
run: |
source=
case "${{ inputs.platform }}" in
"AWS") source="amazon-ebs.aws-ami" ;;
"DigitalOcean") source="digitalocean.do-marketplace" ;;
"Both") source="amazon-ebs.aws-ami,digitalocean.do-marketplace" ;;
esac
echo "source: $source"
echo "source=$source" >> $GITHUB_OUTPUT
do:
uses: ./.github/workflows/build_images.yml

Check failure on line 36 in .github/workflows/manual-build.yml

View workflow run for this annotation

GitHub Actions / Manually build both images and test

Invalid workflow file

The workflow is not valid. In .github/workflows/manual-build.yml (Line: 36, Col: 11): Error from called workflow RocketChat/packer-configs/.github/workflows/build_images.yml@60242402e899ed92578c0447f801882396854bce (Line: 10, Col: 9): Required property is missing: type
needs: [ detect-source ]
with:
tag: ${{ inputs.tag }}
source: ${{ needs.detect-source.outputs.source }}
secrets:
github-token: ${{ secrets.GH_TOKEN_PERSONAL }}
digitalocean-token: ${{ secrets.DO_TOKEN }}
aws-secret-key: ${{secrets.AWS_SECRET_KEY }}
aws-key-id: ${{secrets.AWS_KEY_ID}}