We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f7474 commit f313444Copy full SHA for f313444
actions/push-to-gar-docker-multi-arch/action.yaml
@@ -3,15 +3,26 @@ description: Composite action to push to Google Artifact Registry
3
on:
4
workflow_call:
5
inputs:
6
- platform_string:
+ platforms:
7
description: desc
8
required: true
9
type: string
10
11
+env:
12
+ platform_env: ${{ inputs.platforms }}
13
+
14
jobs:
15
+ expose-env-var:
16
+ runs-on: ubuntu-latest
17
+ outputs:
18
+ platforms: ${{ env.platform_env }}
19
+ steps:
20
+ - run: echo "exposing env var"
21
22
resolve-platforms:
23
+ needs: [expose-env-var]
24
runs-on: ubuntu-latest
25
steps:
26
- uses: ./actions/resolve-architectures
27
with:
- platforms: "${{ github.event.inputs.platform_string }}"
28
+ platforms: ${{ needs.expose-env-var.outputs.platforms }}
0 commit comments