mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
explicitly set the outputs
This commit is contained in:
15
.github/workflows/base_image_workflow.yaml
vendored
15
.github/workflows/base_image_workflow.yaml
vendored
@@ -13,13 +13,18 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
set-vars:
|
set-vars:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
|
||||||
CONTEXT: ${{ github.event.inputs.CONTEXT }}
|
|
||||||
IMAGE_NAME: ${{ github.event.inputs.IMAGE_NAME }}
|
|
||||||
PLATFORMS: 'linux/amd64,linux/arm64'
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set vars
|
- name: Set vars
|
||||||
run: echo "Setting vars..."
|
id: vars
|
||||||
|
run: |
|
||||||
|
echo "CONTEXT=${{ github.event.inputs.CONTEXT }}" >> $GITHUB_ENV
|
||||||
|
echo "IMAGE_NAME=${{ github.event.inputs.IMAGE_NAME }}" >> $GITHUB_ENV
|
||||||
|
echo "::set-output name=CONTEXT::${{ github.event.inputs.CONTEXT }}"
|
||||||
|
echo "::set-output name=IMAGE_NAME::${{ github.event.inputs.IMAGE_NAME }}"
|
||||||
|
outputs:
|
||||||
|
CONTEXT: ${{ steps.vars.outputs.CONTEXT }}
|
||||||
|
IMAGE_NAME: ${{ steps.vars.outputs.IMAGE_NAME }}
|
||||||
|
PLATFORMS: 'linux/amd64,linux/arm64'
|
||||||
|
|
||||||
build-and-push-images:
|
build-and-push-images:
|
||||||
needs: set-vars
|
needs: set-vars
|
||||||
|
|||||||
Reference in New Issue
Block a user